1212 NO_FMT_TEST : 1
1313 CARGO_INCREMENTAL : 0
1414
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+
1520defaults :
1621 run :
1722 shell : bash
2126 runs-on : ubuntu-latest
2227
2328 steps :
24- - uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
25- with :
26- github_token : " ${{ secrets.github_token }}"
27-
2829 - name : Checkout
2930 uses : actions/checkout@v4
3031 with :
6768 # NOTE: If you modify this job, make sure you copy the changes to clippy.yml
6869 steps :
6970 # Setup
70- - uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
71- with :
72- github_token : " ${{ secrets.github_token }}"
73-
7471 - name : Checkout
7572 uses : actions/checkout@v4
7673
@@ -131,10 +128,6 @@ jobs:
131128
132129 steps :
133130 # Setup
134- - uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
135- with :
136- github_token : " ${{ secrets.github_token }}"
137-
138131 - name : Checkout
139132 uses : actions/checkout@v4
140133
@@ -155,10 +148,6 @@ jobs:
155148
156149 steps :
157150 # Setup
158- - uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
159- with :
160- github_token : " ${{ secrets.github_token }}"
161-
162151 - name : Checkout
163152 uses : actions/checkout@v4
164153
@@ -211,10 +200,6 @@ jobs:
211200
212201 steps :
213202 # Setup
214- - uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
215- with :
216- github_token : " ${{ secrets.github_token }}"
217-
218203 - name : Checkout
219204 uses : actions/checkout@v4
220205
0 commit comments