bump version string to the latest #4
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| pull_request: | |
| jobs: | |
| checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| - name: Install analysis tools | |
| run: | | |
| go install honnef.co/go/tools/cmd/staticcheck@v0.6.1 | |
| go install golang.org/x/tools/cmd/deadcode@v0.41.0 | |
| - name: Run tests | |
| run: go test ./... | |
| - name: Run go vet | |
| run: go vet ./... | |
| - name: Run staticcheck | |
| run: staticcheck ./... | |
| - name: Run deadcode | |
| run: deadcode ./... |