Fix "Committer identity unknown" when patching: (#8951) #21954
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
name: Test coverage | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
pull_request: | |
paths-ignore: | |
- 'release/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.21' | |
check-latest: true | |
cache: true | |
- name: Run go test with coverage | |
run: COVER_PROFILE=coverage.txt make coverage-unit-test | |
- name: Codecov upload | |
uses: codecov/[email protected] | |
with: | |
files: ./coverage.txt | |
token: ${{ secrets.CODECOV_TOKEN }} |