Skip to content

Commit

Permalink
Move lint after upload
Browse files Browse the repository at this point in the history
  • Loading branch information
dani-garcia committed Dec 16, 2024
1 parent 545f904 commit ef9c084
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ jobs:
env:
RUSTFLAGS: "-D warnings"

- name: Upload Clippy results to GitHub
uses: github/codeql-action/upload-sarif@aa578102511db1f4524ed59b8cc2bae4f6e88195 # v3.27.6
with:
sarif_file: clippy_result.sarif

# Run it again but this time without the sarif output so that the
# status code of the command is caught and reported as failed in GitHub.
# This should be cached from the previous step and should be fast.
Expand All @@ -52,11 +57,6 @@ jobs:
env:
RUSTFLAGS: "-D warnings"

- name: Upload Clippy results to GitHub
uses: github/codeql-action/upload-sarif@aa578102511db1f4524ed59b8cc2bae4f6e88195 # v3.27.6
with:
sarif_file: clippy_result.sarif

- name: Install cargo-sort
run: cargo install cargo-sort --locked --git https://github.com/DevinR528/cargo-sort.git --rev f5047967021cbb1f822faddc355b3b07674305a1

Expand Down

0 comments on commit ef9c084

Please sign in to comment.