Repository navigation
Parse extractAsUint256 values as unsigned decimal integers #25483
Workflow file for this run
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: golangci-lint | |
| on: | |
| push: | |
| tags: | |
| - v* | |
| branches: | |
| - main | |
| - release/** | |
| pull_request: | |
| merge_group: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'push' && github.sha || github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| permissions: | |
| contents: read | |
| # Optional: allow read access to pull request. Use with `only-new-issues` option. | |
| # pull-requests: read | |
| jobs: | |
| golangci: | |
| name: lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| # See: https://github.com/actions/checkout/releases/tag/v7.0.0 | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | |
| - uses: actions/setup-go@v7 | |
| with: | |
| go-version-file: go.mod | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v9 | |
| with: | |
| version: v2.14.0 | |
| args: --timeout 10m0s | |
| # Separate from the step above because that one honours run.tests, which is false, | |
| # so its gofmt/goimports formatters never see a _test.go file. `fmt` ignores | |
| # run.tests and so covers them. Keep the golangci-lint version in step with the Makefile. | |
| - name: gofmt/goimports (including tests) | |
| run: GOTOOLCHAIN="$(./scripts/go-toolchain.sh)" go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.14.0 fmt --diff |