github.com/kjk/siser@v0.0.0-20220410204903-1b1e84ea1397/.github/workflows/go.yml (about) 1 name: Build and test Go 2 on: push 3 jobs: 4 build: 5 name: Build 6 runs-on: ubuntu-latest 7 steps: 8 - name: Set up Go 9 uses: actions/setup-go@v1 10 with: 11 go-version: 1.16 12 13 - name: Check out source code 14 uses: actions/checkout@v1 15 16 - name: Test 17 run: go test -v ./... 18 19 - name: Staticcheck 20 run: | 21 # go get -u honnef.co/go/tools/cmd/staticcheck 22 # staticcheck ./...