Update Go version to 1.23.3 #178
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: Build and test | |
on: | |
- push | |
permissions: | |
contents: read | |
jobs: | |
build_and_test: | |
name: Build and test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: WillAbides/[email protected] | |
with: | |
go-version-file: go.mod | |
ignore-local: true | |
- run: go version | |
- name: go test | |
env: | |
# We enable cgo to be able to test with `-race`. | |
CGO_ENABLED: 1 | |
run: >- | |
go test -v -race -cover -covermode=atomic -coverprofile=coverage.txt ./... | |
- name: Upload coverage report to Codecov | |
uses: codecov/codecov-action@v4 |