This commit is contained in:
@@ -20,7 +20,7 @@ jobs:
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: "1.26.x"
|
||||
|
||||
|
||||
- name: Get go-hashfiles
|
||||
uses: https://gitea.com/actions/go-hashfiles@v0.0.1
|
||||
id: hash-go
|
||||
@@ -52,7 +52,9 @@ jobs:
|
||||
run: go test -v ./...
|
||||
|
||||
- name: Generate coverage
|
||||
run: go test -v -coverprofile=${build_path}/coverage.out ./...
|
||||
run: |
|
||||
mkdir -p ${build_path}
|
||||
go test -v -coverprofile=${build_path}/coverage.out ./...
|
||||
|
||||
- name: Code Coverage Report
|
||||
uses: irongut/CodeCoverageSummary@v1.3.0
|
||||
|
||||
Reference in New Issue
Block a user