-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #366 from onflow/fxamacker/pin-deps-in-coverage.yml
Pin dependencies in coverage.yml
- Loading branch information
Showing
1 changed file
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|