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.
2 parents 79cf6ae + ea9b4bb commit d57bda7Copy full SHA for d57bda7
.github/workflows/main.yml
@@ -28,12 +28,16 @@ jobs:
28
make lint
29
env:
30
GO111MODULE: off
31
+ - name: Declare some variables
32
+ id: vars
33
+ run: |
34
+ echo "::set-output name=coverage_txt::${RUNNER_TEMP}/coverage.txt"
35
- name: Test Coverage (pkg)
- run: go test ./... -coverprofile=coverage.txt
36
+ run: go test ./... -coverprofile=${{ steps.vars.outputs.coverage_txt }}
37
- name: Upload coverage
38
uses: codecov/codecov-action@v2
39
with:
- files: coverage.txt
40
+ files: ${{ steps.vars.outputs.coverage_txt }}
41
- name: Run GoReleaser
42
if: contains(github.ref, 'tags/v')
43
uses: goreleaser/goreleaser-action@v2
0 commit comments