deps: update module github.com/hetznercloud/hcloud-go/v2 to v2.30.0 (… #590
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: Lint | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| env: | |
| GOTOOLCHAIN: local | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| - uses: golangci/golangci-lint-action@v9 | |
| with: | |
| version: v2.6.1 # renovate: datasource=github-releases depName=golangci/golangci-lint | |
| check-mod-tidy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| - run: go mod tidy | |
| - run: git diff --exit-code | |
| - if: failure() | |
| run: echo "::error::Check failed, please run 'go mod tidy' and commit the changes." | |
| check-generate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| - run: make generate | |
| - run: git diff --exit-code | |
| - if: failure() | |
| run: echo "::error::Check failed, please run 'make generate' and commit the changes." |