Skip to content

Commit ce49024

Browse files
committed
chore(ci): bump actions version to v4
1 parent 3322d48 commit ce49024

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/rust.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
build:
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v2
24-
- name: Build
25-
run: cargo build --verbose
26-
- name: Run tests
27-
run: cargo test --verbose
23+
- uses: actions/checkout@v4
24+
- name: Build
25+
run: cargo build --verbose
26+
- name: Run tests
27+
run: cargo test --verbose
2828

2929
release:
3030
name: Build Release
@@ -37,7 +37,7 @@ jobs:
3737
- x86_64-linux-gnu # amd64
3838
- aarch64-linux-gnu # arm64
3939
steps:
40-
- uses: actions/checkout@v2
40+
- uses: actions/checkout@v4
4141

4242
- name: Install Rust toolchain
4343
uses: actions-rs/toolchain@v1
@@ -63,7 +63,7 @@ jobs:
6363
cd release && tar -czf $BINARY_NAME-${{ matrix.target }}.tar.gz $BINARY_NAME-${{ matrix.target }}
6464
6565
- name: Upload artifacts
66-
uses: actions/upload-artifact@v2
66+
uses: actions/upload-artifact@v4
6767
with:
6868
name: ${{ env.BINARY_NAME }}-${{ matrix.target }}
6969
path: control/release/${{ env.BINARY_NAME }}-${{ matrix.target }}.tar.gz
@@ -75,7 +75,7 @@ jobs:
7575
if: startsWith(github.ref, 'refs/tags/')
7676
steps:
7777
- name: Download all artifacts
78-
uses: actions/download-artifact@v2
78+
uses: actions/download-artifact@v4
7979

8080
- name: Get the version
8181
id: get_version
@@ -90,4 +90,4 @@ jobs:
9090
files: |
9191
*/*.tar.gz
9292
env:
93-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
93+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)