INF-1307 drop generated typed clients; clears all GRC warnings #7
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] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: '1.26' | |
| cache: true | |
| - run: go build ./... | |
| - run: go test ./... | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: '1.26' | |
| cache: true | |
| - name: Install lint tools | |
| run: | | |
| go install github.com/gordonklaus/ineffassign@latest | |
| go install github.com/client9/misspell/cmd/misspell@latest | |
| go install github.com/fzipp/gocyclo/cmd/gocyclo@latest | |
| go install golang.org/x/lint/golint@latest | |
| echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH" | |
| - run: ./scripts/lint.sh |