Skip to content

Commit a43490f

Browse files
author
messica
committed
fix: fix ci issue
1 parent 2272ee8 commit a43490f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,13 @@ jobs:
3838
- uses: actions/checkout@v4
3939

4040
- name: Install Rust toolchain
41-
uses: dtolnay/rust-toolchain@stable
41+
uses: dtolnay/rust-toolchain@v1
4242
with:
43+
toolchain: stable
4344
targets: ${{ matrix.target }}
4445

4546
- name: Cache cargo
46-
uses: Swatinem/rust-cache@2
47+
uses: Swatinem/rust-cache@v2.8.2
4748
with:
4849
key: ${{ matrix.target }}
4950

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@ jobs:
4040
uses: actions/checkout@v4
4141

4242
- name: Install Rust toolchain
43-
uses: dtolnay/rust-toolchain@stable
43+
uses: dtolnay/rust-toolchain@v1
4444
with:
45+
toolchain: stable
4546
targets: ${{ matrix.target }}
4647

4748
- name: Cache cargo
48-
uses: Swatinem/rust-cache@2
49+
uses: Swatinem/rust-cache@v2.8.2
4950
with:
5051
key: ${{ matrix.target }}
5152
shared-key: release

0 commit comments

Comments
 (0)