Skip to content

Commit

Permalink
ci: cancel cargo clippy on Github Actions when new commits comming
Browse files Browse the repository at this point in the history
  • Loading branch information
yihau committed Nov 30, 2023
1 parent 41f303c commit c20b3a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ on:
- ".github/scripts/cargo-clippy-before-script.sh"
- ".github/workflows/cargo.yml"

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
SHELL: /bin/bash
SCCACHE_GHA_ENABLED: "true"
Expand Down

0 comments on commit c20b3a0

Please sign in to comment.