chore: update go deps #18
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: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
buildandtest: | |
name: Build and Test on Go ${{matrix.go}} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: [ '1.19', '1.20' ] | |
steps: | |
- name: Set up Go ${{matrix.go}} | |
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # pin@v3 | |
with: | |
go-version: ${{matrix.go}} | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # pin@v3 | |
- name: Test | |
run: go test -v -p=1 -race ./... |