We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ce0ace commit fef0656Copy full SHA for fef0656
.github/workflows/ci.yaml
@@ -7,6 +7,10 @@ on:
7
branches:
8
- main
9
10
+env:
11
+ CODE_COVERAGE_FILE_NAME: "coverage.out" # must be the same as in Makefile
12
+ CODE_COVERAGE_ARTIFACT_NAME: "code-coverage"
13
+
14
jobs:
15
main:
16
name: CI
@@ -34,8 +38,8 @@ jobs:
34
38
- name: Archive code coverage results
35
39
uses: actions/upload-artifact@v4
36
40
with:
37
- name: code-coverage
- path: coverage.out
41
+ name: ${{ env.CODE_COVERAGE_ARTIFACT_NAME }}
42
+ path: ${{ env.CODE_COVERAGE_FILE_NAME }}
43
44
config:
45
name: Check GoReleaser config
@@ -62,4 +66,5 @@ jobs:
62
66
steps:
63
67
- uses: fgrosse/go-coverage-report@v1.1.1
64
68
65
- coverage-file-name: "coverage.out"
69
+ coverage-artifact-name: ${{ env.CODE_COVERAGE_ARTIFACT_NAME }}
70
+ coverage-file-name: ${{ env.CODE_COVERAGE_FILE_NAME }}
0 commit comments