diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c28c1a3..2977ce65 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: os: [ubuntu-latest] node: ["18"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install Rust stable uses: actions-rs/toolchain@v1 with: @@ -48,7 +48,7 @@ jobs: rust: [stable] node: ["16", "18", "20"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install ${{ matrix.rust }} uses: actions-rs/toolchain@v1 with: @@ -84,10 +84,11 @@ jobs: with: cluster-name: "fluvio" - name: Install Fluvio Local Cluster - uses: infinyon/fluvio@master + uses: infinyon/fluvio@a4e8144d3d1d9c6faad4b9cfdcb8c8111ef248d3 # use until #4651 gets merged with: cluster-type: local version: "stable" + fvm_version: "dev" - name: Check Fluvio Installation run: | fluvio version @@ -99,7 +100,7 @@ jobs: - name: Create Topic run: | fluvio topic create -p 1 -r 1 my-topic - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install ${{ matrix.rust }} uses: actions-rs/toolchain@v1 with: @@ -133,7 +134,7 @@ jobs: rust: [stable] node: ["16", "18"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install ${{ matrix.rust }} uses: actions-rs/toolchain@v1 with: @@ -150,6 +151,23 @@ jobs: name: Done needs: [check_fmt, check_security, smoke_test, macos_ci] runs-on: ubuntu-latest + if: always() steps: - - name: Done - run: echo Done + - name: Dump needs context + env: + CONTEXT: ${{ toJson(needs) }} + run: | + echo -e "\033[33;1;4mDump context\033[0m" + echo -e "$CONTEXT\n" + - name: Report failure on cancellation + if: ${{ contains(needs.*.result, 'cancelled') || cancelled() }} + run: exit 1 + - name: Failing test and build + if: ${{ contains(needs.*.result, 'failure') }} + run: exit 1 + - name: Don't allow skipped + if: ${{ contains(needs.*.result, 'skipped') && github.event_name == 'merge_group' }} + run: exit 1 + - name: Successful test and build + if: ${{ !(contains(needs.*.result, 'failure')) }} + run: exit 0 diff --git a/.github/workflows/cloud.yml b/.github/workflows/cloud.yml index 9a20c2f4..fae00183 100644 --- a/.github/workflows/cloud.yml +++ b/.github/workflows/cloud.yml @@ -21,7 +21,7 @@ jobs: rust: [stable] node: ["18", "20"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install ${{ matrix.rust }} uses: dtolnay/rust-toolchain@master with: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a55e26d9..06772d5e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -19,7 +19,7 @@ jobs: os: [ubuntu-latest] node: ["18.13"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 # otherwise, you will failed to push refs to dest repo - name: Use Node.js ${{ matrix.node }} diff --git a/.github/workflows/latest-dev-fluvio.yaml b/.github/workflows/latest-dev-fluvio.yaml index bbc8285a..e1e69b14 100644 --- a/.github/workflows/latest-dev-fluvio.yaml +++ b/.github/workflows/latest-dev-fluvio.yaml @@ -21,7 +21,7 @@ jobs: rust: [stable] node: ["18", "20"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install ${{ matrix.rust }} uses: actions-rs/toolchain@v1 with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fd3adedd..4fd7ee55 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -35,7 +35,7 @@ jobs: target/ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install Stable Rust uses: actions-rs/toolchain@v1 @@ -69,7 +69,7 @@ jobs: runs-on: [macos-latest] # macos needed for lipo command needs: [build_and_upload_artifacts] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: actions/download-artifact@v4 with: path: ./dist/