File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -25,19 +25,23 @@ jobs:
2525 - name : Test
2626 run : make test
2727 - name : Lint
28+ if : matrix.os == 'ubuntu-latest'
2829 run : |
2930 go get golang.org/x/lint/golint
3031 export PATH="$PATH:$(go env GOPATH)/bin"
3132 make lint
3233 env :
3334 GO111MODULE : off
3435 - name : Declare some variables
36+ if : matrix.os == 'ubuntu-latest'
3537 id : vars
3638 run : |
3739 echo "::set-output name=coverage_txt::${RUNNER_TEMP}/coverage.txt"
3840 - name : Test Coverage (pkg)
41+ if : matrix.os == 'ubuntu-latest'
3942 run : go test ./... -coverprofile=${{ steps.vars.outputs.coverage_txt }}
4043 - name : Upload coverage
44+ if : matrix.os == 'ubuntu-latest'
4145 uses : codecov/codecov-action@v2
4246 with :
4347 files : ${{ steps.vars.outputs.coverage_txt }}
You can’t perform that action at this time.
0 commit comments