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