mirror of
https://github.com/winapps-org/winapps.git
synced 2025-06-07 07:37:19 +02:00
Update rust-clippy.yml
This commit is contained in:
parent
c1949b0bcc
commit
a8b9a93048
13
.github/workflows/rust-clippy.yml
vendored
13
.github/workflows/rust-clippy.yml
vendored
@ -22,21 +22,14 @@ jobs:
|
|||||||
rust-clippy-analyze:
|
rust-clippy-analyze:
|
||||||
name: Run rust-clippy analyzing
|
name: Run rust-clippy analyzing
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
security-events: write
|
security-events: write
|
||||||
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install Rust toolchain
|
|
||||||
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af #@v1
|
|
||||||
with:
|
|
||||||
profile: minimal
|
|
||||||
toolchain: stable
|
|
||||||
components: clippy
|
|
||||||
override: true
|
|
||||||
|
|
||||||
- name: Install required cargo
|
- name: Install required cargo
|
||||||
run: cargo install clippy-sarif sarif-fmt
|
run: cargo install clippy-sarif sarif-fmt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user