Skip to content

Commit 91fe42b

Browse files
authored
Merge pull request #886 from opentensor/sam-hotfix
fix incorrect toolchain on cargo audit
2 parents 65f656e + 50f8a9d commit 91fe42b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/check-rust.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,17 +222,17 @@ jobs:
222222
sudo apt-get update &&
223223
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
224224
225-
- name: Install Rust ${{ matrix.rust-branch }}
225+
- name: Install Rust Stable
226226
uses: actions-rs/[email protected]
227227
with:
228-
toolchain: ${{ matrix.rust-branch }}
228+
toolchain: stable
229229
components: rustfmt, clippy
230230
profile: minimal
231231

232232
- name: Utilize Shared Rust Cache
233233
uses: Swatinem/[email protected]
234234
with:
235-
key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}
235+
key: ubuntu-latest-${{ env.RUST_BIN_DIR }}
236236

237237
- name: Install cargo-audit
238238
run: cargo install cargo-audit

0 commit comments

Comments
 (0)