Fix offset finder #424
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: Go | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.21' | |
- name: install | |
run: | | |
go install -v golang.org/x/tools/cmd/goimports@latest | |
go install -v honnef.co/go/tools/cmd/staticcheck@latest | |
- name: Test | |
run: | | |
make fmt && git diff --exit-code | |
make imports && git diff --exit-code | |
make static-check | |
make test |