12
12
NO_FMT_TEST : 1
13
13
CARGO_INCREMENTAL : 0
14
14
15
+ concurrency :
16
+ # For a given workflow, if we push to the same branch, cancel all previous builds on that branch.
17
+ group : " ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}"
18
+ cancel-in-progress : true
19
+
15
20
defaults :
16
21
run :
17
22
shell : bash
21
26
runs-on : ubuntu-latest
22
27
23
28
steps :
24
- - uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
25
- with :
26
- github_token : " ${{ secrets.github_token }}"
27
-
28
29
- name : Checkout
29
30
uses : actions/checkout@v4
30
31
with :
67
68
# NOTE: If you modify this job, make sure you copy the changes to clippy.yml
68
69
steps :
69
70
# Setup
70
- - uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
71
- with :
72
- github_token : " ${{ secrets.github_token }}"
73
-
74
71
- name : Checkout
75
72
uses : actions/checkout@v4
76
73
@@ -131,10 +128,6 @@ jobs:
131
128
132
129
steps :
133
130
# Setup
134
- - uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
135
- with :
136
- github_token : " ${{ secrets.github_token }}"
137
-
138
131
- name : Checkout
139
132
uses : actions/checkout@v4
140
133
@@ -155,10 +148,6 @@ jobs:
155
148
156
149
steps :
157
150
# Setup
158
- - uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
159
- with :
160
- github_token : " ${{ secrets.github_token }}"
161
-
162
151
- name : Checkout
163
152
uses : actions/checkout@v4
164
153
@@ -211,10 +200,6 @@ jobs:
211
200
212
201
steps :
213
202
# Setup
214
- - uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
215
- with :
216
- github_token : " ${{ secrets.github_token }}"
217
-
218
203
- name : Checkout
219
204
uses : actions/checkout@v4
220
205
0 commit comments