fix errors #216
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 | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '^1.23' | |
- name: get build tools | |
run: sudo apt-get -y install build-essential | |
- name: test build | |
run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build | |
#- name: test | |
#run: GOFLAGS="-count=1" go test -race -covermode=atomic ./... |