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 1717 checks : write # to create a new check based on the results (shogo82148/actions-goveralls)
1818
1919 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]
2125 steps :
2226
2327 - name : Check out code into the Go module directory
3842 run : |
3943 apt update
4044 apt install -y make gcc libc-dev git
41- if : github.actor == 'nektos/act'
45+ if : github.actor == 'nektos/act' && matrix.os == 'ubuntu-latest'
4246
4347 - name : Test
4448 run : make test
4751 uses : shogo82148/actions-goveralls@v1
4852 with :
4953 path-to-profile : profile.cov
50- if : github.actor != 'nektos/act'
54+ if : github.actor != 'nektos/act' && matrix.os == 'ubuntu-latest'
5155 continue-on-error : true
You can’t perform that action at this time.
0 commit comments