Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
feat(ci): add concurrency group for rust workflow (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Feb 24, 2023
1 parent cff757d commit 5c936bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Rust

on: [push, pull_request]

# This will cancel previous runs when a branch or PR is updated
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref || github.run_id }}
cancel-in-progress: true

jobs:
check_n_test:
name: cargo check & test
Expand Down

0 comments on commit 5c936bc

Please sign in to comment.