File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 17
17
checks : write # to create a new check based on the results (shogo82148/actions-goveralls)
18
18
19
19
name : Build
20
- runs-on : ubuntu-latest
20
+ runs-on : ${{ matrix.os }}
21
+ strategy :
22
+ matrix :
23
+ # tests for target OS
24
+ os : [ubuntu-latest, macos-latest]
21
25
steps :
22
26
23
27
- name : Check out code into the Go module directory
38
42
run : |
39
43
apt update
40
44
apt install -y make gcc libc-dev git
41
- if : github.actor == 'nektos/act'
45
+ if : github.actor == 'nektos/act' && matrix.os == 'ubuntu-latest'
42
46
43
47
- name : Test
44
48
run : make test
47
51
uses : shogo82148/actions-goveralls@v1
48
52
with :
49
53
path-to-profile : profile.cov
50
- if : github.actor != 'nektos/act'
54
+ if : github.actor != 'nektos/act' && matrix.os == 'ubuntu-latest'
51
55
continue-on-error : true
You can’t perform that action at this time.
0 commit comments