File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,18 +11,19 @@ jobs:
1111 runs-on : ubuntu-latest
1212 steps :
1313 - name : Checkout
14- uses : actions/checkout@v3
14+ uses : actions/checkout@v4
1515 - name : Set up Go
16- uses : actions/setup-go@v3
16+ uses : actions/setup-go@v5
1717 with :
1818 go-version : stable
1919 - name : Build
2020 run : go build -v ./...
2121 - name : Test
22- run : go test -v $(go list ./... | grep -v /example/)
22+ run : go test -v -coverprofile coverage.out $(go list ./... | grep -v /example/)
2323 - name : Update coverage report
2424 uses : ncruces/go-coverage-report@v0
2525 with :
26+ coverage-file : coverage.out
2627 report : true
2728 chart : true
2829 amend : true
Original file line number Diff line number Diff line change 1313 GO111MODULE : on
1414 steps :
1515 - name : Checkout Source
16- uses : actions/checkout@v3
16+ uses : actions/checkout@v4
1717 - name : Run Gosec Security Scanner
1818 uses : securego/gosec@master
1919 with :
You can’t perform that action at this time.
0 commit comments