ci: Add codecov token

This commit is contained in:
TwiN 2024-04-09 18:53:15 -04:00 committed by GitHub
parent f93cebe715
commit dc9cddfd77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@ jobs:
# was configured by the "Set up Go" step (otherwise, it'd use sudo's "go" executable)
run: sudo env "PATH=$PATH" "GOROOT=$GOROOT" go test ./... -race -coverprofile=coverage.txt -covermode=atomic
- name: Codecov
uses: codecov/codecov-action@v4.1.1
uses: codecov/codecov-action@v4.3.0
with:
files: ./coverage.txt
token: ${{ secrets.CODECOV_TOKEN }}