Skip to content

Commit 9ae7139

Browse files
committed
Cancel workflow for concurrent workflow runs (#69)
1 parent 43302cd commit 9ae7139

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build_and_test.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ on:
66
pull_request:
77
branches: [ main ]
88

9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
916
jobs:
1017
build:
1118
runs-on: [self-hosted, qemu]

0 commit comments

Comments
 (0)