chore(deps): update dependency golangci/golangci-lint to v1.62.2 (#363) #1077
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: | |
pull_request: | |
paths: | |
- .github/workflows/go.yaml | |
- Makefile | |
- '**.go' | |
- go.* | |
push: | |
branches: | |
- main | |
paths: | |
- .github/workflows/go.yaml | |
- Makefile | |
- '**.go' | |
- go.* | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | |
with: | |
go-version-file: go.mod | |
cache-dependency-path: go.sum | |
- run: go mod tidy | |
- run: make fmt | |
- run: make generate manifests | |
- uses: int128/update-generated-files-action@7eb71af1ae8e30d970ea5512d23fd2f4b0eae44c # v2.56.0 | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | |
with: | |
go-version-file: go.mod | |
cache-dependency-path: go.sum | |
- run: make test | |
- run: make lint |