Skip to content

Commit f4525ba

Browse files
build(deps): bump actions/checkout from 4 to 6 (#650)
* build(deps): bump actions/checkout from 4 to 6 Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Update ci.yml * Update Fluvio version to latest in CI workflow * Modify Fluvio installation in CI workflow Updated Fluvio installation to use a specific commit and changed version to stable. * Update Fluvio version and enhance job result handling Updated Fluvio version in CI workflow and added steps for handling job results. * Update .github/workflows/ci.yml * Update ci.yml --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: morenol <22335041+morenol@users.noreply.github.com>
1 parent 5766b2b commit f4525ba

5 files changed

Lines changed: 30 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
os: [ubuntu-latest]
2020
node: ["18"]
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v6
2323
- name: Install Rust stable
2424
uses: actions-rs/toolchain@v1
2525
with:
@@ -48,7 +48,7 @@ jobs:
4848
rust: [stable]
4949
node: ["16", "18", "20"]
5050
steps:
51-
- uses: actions/checkout@v4
51+
- uses: actions/checkout@v6
5252
- name: Install ${{ matrix.rust }}
5353
uses: actions-rs/toolchain@v1
5454
with:
@@ -84,10 +84,11 @@ jobs:
8484
with:
8585
cluster-name: "fluvio"
8686
- name: Install Fluvio Local Cluster
87-
uses: infinyon/fluvio@master
87+
uses: infinyon/fluvio@a4e8144d3d1d9c6faad4b9cfdcb8c8111ef248d3 # use until #4651 gets merged
8888
with:
8989
cluster-type: local
9090
version: "stable"
91+
fvm_version: "dev"
9192
- name: Check Fluvio Installation
9293
run: |
9394
fluvio version
@@ -99,7 +100,7 @@ jobs:
99100
- name: Create Topic
100101
run: |
101102
fluvio topic create -p 1 -r 1 my-topic
102-
- uses: actions/checkout@v4
103+
- uses: actions/checkout@v6
103104
- name: Install ${{ matrix.rust }}
104105
uses: actions-rs/toolchain@v1
105106
with:
@@ -133,7 +134,7 @@ jobs:
133134
rust: [stable]
134135
node: ["16", "18"]
135136
steps:
136-
- uses: actions/checkout@v4
137+
- uses: actions/checkout@v6
137138
- name: Install ${{ matrix.rust }}
138139
uses: actions-rs/toolchain@v1
139140
with:
@@ -150,6 +151,23 @@ jobs:
150151
name: Done
151152
needs: [check_fmt, check_security, smoke_test, macos_ci]
152153
runs-on: ubuntu-latest
154+
if: always()
153155
steps:
154-
- name: Done
155-
run: echo Done
156+
- name: Dump needs context
157+
env:
158+
CONTEXT: ${{ toJson(needs) }}
159+
run: |
160+
echo -e "\033[33;1;4mDump context\033[0m"
161+
echo -e "$CONTEXT\n"
162+
- name: Report failure on cancellation
163+
if: ${{ contains(needs.*.result, 'cancelled') || cancelled() }}
164+
run: exit 1
165+
- name: Failing test and build
166+
if: ${{ contains(needs.*.result, 'failure') }}
167+
run: exit 1
168+
- name: Don't allow skipped
169+
if: ${{ contains(needs.*.result, 'skipped') && github.event_name == 'merge_group' }}
170+
run: exit 1
171+
- name: Successful test and build
172+
if: ${{ !(contains(needs.*.result, 'failure')) }}
173+
run: exit 0

.github/workflows/cloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
rust: [stable]
2222
node: ["18", "20"]
2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v6
2525
- name: Install ${{ matrix.rust }}
2626
uses: dtolnay/rust-toolchain@master
2727
with:

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
os: [ubuntu-latest]
2020
node: ["18.13"]
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v6
2323
with:
2424
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
2525
- name: Use Node.js ${{ matrix.node }}

.github/workflows/latest-dev-fluvio.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
rust: [stable]
2222
node: ["18", "20"]
2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v6
2525
- name: Install ${{ matrix.rust }}
2626
uses: actions-rs/toolchain@v1
2727
with:

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
target/
3636
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
3737

38-
- uses: actions/checkout@v4
38+
- uses: actions/checkout@v6
3939

4040
- name: Install Stable Rust
4141
uses: actions-rs/toolchain@v1
@@ -69,7 +69,7 @@ jobs:
6969
runs-on: [macos-latest] # macos needed for lipo command
7070
needs: [build_and_upload_artifacts]
7171
steps:
72-
- uses: actions/checkout@v4
72+
- uses: actions/checkout@v6
7373
- uses: actions/download-artifact@v4
7474
with:
7575
path: ./dist/

0 commit comments

Comments
 (0)