Merge pull request #1874 from reviewdog/renovate/golang.org-x-sync-0.x #123
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: Go | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test: | |
permissions: | |
contents: read | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 50 # Need git history for testing. | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
- name: Test | |
run: go test -v -race -coverpkg=./... -coverprofile=coverage.txt ./... | |
- uses: codecov/codecov-action@v4 |