Skip to content

Commit c6576c5

Browse files
committed
build(ci): Add concurrency checks
1 parent 2a57a1a commit c6576c5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/cpp.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: C/C++ CI
22

33
on: [push, pull_request]
4-
4+
concurrency:
5+
group: ${{ github.head_ref }}
6+
cancel-in-progress: true
7+
58
jobs:
69
lint:
710
name: Format and Lint
@@ -38,6 +41,7 @@ jobs:
3841
make:
3942
name: Compile Project
4043
runs-on: ubuntu-latest
44+
needs: lint
4145

4246
steps:
4347
- name: checkout

0 commit comments

Comments
 (0)