chore(deps): update actions/setup-go action to v5.2.0 #113
Workflow file for this run
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 | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "**.go" | |
- go.mod | |
- go.sum | |
- .github/workflows/test.yml | |
pull_request: | |
paths: | |
- "**.go" | |
- go.mod | |
- go.sum | |
- .github/workflows/test.yml | |
jobs: | |
Test: | |
runs-on: macOS-Latest | |
steps: | |
- name: π Checkout Repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: πΉ Setup Go | |
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 | |
with: | |
go-version-file: go.mod | |
- name: π Static Analysis | |
run: go vet -v ./... | |
- name: π§ͺ Run Tests | |
run: go test -v -race ./... -coverprofile=coverage.txt -covermode=atomic | |
- name: βοΈ Upload Coverage | |
uses: codecov/codecov-action@7f8b4b4bde536c465e797be725718b88c5d95e0e # v5.1.1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |