chore(deps): update module github.com/google/go-github/v35 to v68 #1255
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 and coverage | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.20' | |
- name: Run coverage | |
run: go test ./... -race -coverprofile=coverage.txt -covermode=atomic | |
- name: Build | |
run: go build -v ./... | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 |