Update Rust toolchain & actions (#437)

* Update main.yml to use new rust toolchain

* Update rust-clippy.yml to new rust toolchain

* Update to new maintained github action

* Update rust-clippy.yml codeql-action
This commit is contained in:
guylamar2006
2025-02-24 21:53:26 +01:00
committed by GitHub
parent 2d5b933f2c
commit f06e20bf13
3 changed files with 15 additions and 13 deletions
+2 -4
View File
@@ -31,12 +31,10 @@ jobs:
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af #@v1
uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
toolchain: stable
components: clippy
override: true
- name: Install required cargo
run: cargo install clippy-sarif sarif-fmt
@@ -49,7 +47,7 @@ jobs:
continue-on-error: true
- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: rust-clippy-results.sarif
wait-for-processing: true