9
9
# Allows you to run this workflow manually from the Actions tab
10
10
workflow_dispatch :
11
11
12
+ concurrency :
13
+ group : tests-${{ github.head_ref }}
14
+ cancel-in-progress : true
15
+
12
16
jobs :
13
17
docs :
14
18
runs-on : ubuntu-latest
15
19
steps :
16
- - name : Cancel Previous Runs
17
-
18
- with :
19
- access_token : ${{ github.token }}
20
20
- uses : actions/checkout@v2
21
21
- name : Set up Python 3.8
22
22
uses : actions/setup-python@v2
30
30
mypy :
31
31
runs-on : ubuntu-latest
32
32
steps :
33
- - name : Cancel Previous Runs
34
-
35
- with :
36
- access_token : ${{ github.token }}
37
33
- uses : actions/checkout@v2
38
34
- name : Set up Python 3.8
39
35
uses : actions/setup-python@v2
50
46
target : [showcase, showcase_alternative_templates]
51
47
runs-on : ubuntu-latest
52
48
steps :
53
- - name : Cancel Previous Runs
54
-
55
- with :
56
- access_token : ${{ github.token }}
57
49
- uses : actions/checkout@v2
58
50
- name : Set up Python 3.8
59
51
uses : actions/setup-python@v2
93
85
target : [showcase_mtls, showcase_mtls_alternative_templates]
94
86
runs-on : ubuntu-latest
95
87
steps :
96
- - name : Cancel Previous Runs
97
-
98
- with :
99
- access_token : ${{ github.token }}
100
88
- uses : actions/checkout@v2
101
89
- name : Setup temp directory
102
90
run : |
@@ -156,10 +144,6 @@ jobs:
156
144
variant : _alternative_templates
157
145
runs-on : ubuntu-latest
158
146
steps :
159
- - name : Cancel Previous Runs
160
-
161
- with :
162
- access_token : ${{ github.token }}
163
147
- uses : actions/checkout@v2
164
148
- name : Set up Python ${{ matrix.python }}
165
149
uses : actions/setup-python@v2
@@ -187,10 +171,6 @@ jobs:
187
171
showcase-unit-add-iam-methods :
188
172
runs-on : ubuntu-latest
189
173
steps :
190
- - name : Cancel Previous Runs
191
-
192
- with :
193
- access_token : ${{ github.token }}
194
174
- uses : actions/checkout@v2
195
175
- name : Set up Python 3.8
196
176
uses : actions/setup-python@v2
@@ -221,10 +201,6 @@ jobs:
221
201
matrix :
222
202
variant : ['', _alternative_templates]
223
203
steps :
224
- - name : Cancel Previous Runs
225
-
226
- with :
227
- access_token : ${{ github.token }}
228
204
- uses : actions/checkout@v2
229
205
- name : Set up Python 3.8
230
206
uses : actions/setup-python@v2
@@ -252,10 +228,6 @@ jobs:
252
228
snippetgen :
253
229
runs-on : ubuntu-latest
254
230
steps :
255
- - name : Cancel Previous Runs
256
-
257
- with :
258
- access_token : ${{ github.token }}
259
231
- uses : actions/checkout@v2
260
232
- name : Set up Python 3.8
261
233
uses : actions/setup-python@v2
@@ -276,10 +248,6 @@ jobs:
276
248
python : [3.6, 3.7, 3.8, 3.9]
277
249
runs-on : ubuntu-latest
278
250
steps :
279
- - name : Cancel Previous Runs
280
-
281
- with :
282
- access_token : ${{ github.token }}
283
251
- uses : actions/checkout@v2
284
252
- name : Set up Python ${{ matrix.python }}
285
253
uses : actions/setup-python@v2
@@ -305,10 +273,6 @@ jobs:
305
273
variant : _alternative_templates
306
274
runs-on : ubuntu-latest
307
275
steps :
308
- - name : Cancel Previous Runs
309
-
310
- with :
311
- access_token : ${{ github.token }}
312
276
- uses : actions/checkout@v2
313
277
- name : Set up Python ${{ matrix.python }}
314
278
uses : actions/setup-python@v2
@@ -328,10 +292,6 @@ jobs:
328
292
runs-on : ubuntu-latest
329
293
container : gcr.io/gapic-images/googleapis
330
294
steps :
331
- - name : Cancel Previous Runs
332
-
333
- with :
334
- access_token : ${{ github.token }}
335
295
- uses : actions/checkout@v2
336
296
- name : Cache Bazel files
337
297
id : cache-bazel
@@ -359,10 +319,6 @@ jobs:
359
319
style-check :
360
320
runs-on : ubuntu-latest
361
321
steps :
362
- - name : Cancel Previous Runs
363
-
364
- with :
365
- access_token : ${{ github.token }}
366
322
- uses : actions/checkout@v2
367
323
- name : Set up Python 3.8
368
324
uses : actions/setup-python@v2
0 commit comments