File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -5,17 +5,25 @@ on: [push, pull_request]
5
5
6
6
permissions : read-all
7
7
8
+ concurrency :
9
+ # On master/release, we don't want any jobs cancelled
10
+ # On PR branches, we cancel the job if new commits are pushed
11
+ # More info: https://stackoverflow.com/a/70972844/1261287
12
+ group : ${{ github.ref }}
13
+ cancel-in-progress : ${{ github.ref != 'refs/heads/master' }}
14
+
8
15
jobs :
9
16
build :
10
17
name : PR unit tests
11
18
strategy :
12
19
matrix :
13
- os : [ubuntu-latest, macos-latest]
20
+ os : [ubuntu-latest, macos-12]
21
+ fail-fast : false
14
22
runs-on : ${{ matrix.os }}
15
23
16
24
steps :
17
25
- name : start docker
18
- if : ${{ matrix.os == 'macos-latest ' }}
26
+ if : ${{ matrix.os == 'macos-12 ' }}
19
27
run : |
20
28
brew install docker
21
29
colima start
You can’t perform that action at this time.
0 commit comments