Skip to content

Commit

Permalink
ci: Set cancel in progress and concurency limit
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrst88 committed Aug 19, 2024
1 parent c744465 commit cc8b35c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: "Rust CI"
on:
pull_request:

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

jobs:
build:
name: cargo build
Expand Down

0 comments on commit cc8b35c

Please sign in to comment.