Skip to content

Commit

Permalink
Merge pull request #366 from onflow/fxamacker/pin-deps-in-coverage.yml
Browse files Browse the repository at this point in the history
Pin dependencies in coverage.yml
  • Loading branch information
fxamacker authored Mar 11, 2024
2 parents 29b684b + 8de3a51 commit d4d5f30
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,12 @@ jobs:
contents: read

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 2

- uses: actions/setup-go@v4
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.19'
check-latest: true

- name: Get dependencies
Expand All @@ -35,7 +34,7 @@ jobs:
run: go test -timeout 60m -race -coverprofile=coverage.txt -covermode=atomic

- name: Upload coverage report to Codecov
uses: codecov/[email protected].2
uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # v4.0.1
with:
files: ./coverage.txt
fail_ci_if_error: false # we can set this to true after "Could not find a repository" upload error is fixed
Expand Down

0 comments on commit d4d5f30

Please sign in to comment.