[release-1.11] 🌱 e2e: allow usage of v1beta1 and v1beta2 for MachinePools in clusterctl upgrade #11355
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: PR golangci-lint | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize, reopened] | |
| # Remove all permissions from GITHUB_TOKEN except metadata. | |
| permissions: {} | |
| jobs: | |
| golangci: | |
| name: lint | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| working-directory: | |
| - "" | |
| - test | |
| - hack/tools | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2 | |
| - name: Calculate go version | |
| id: vars | |
| run: echo "go_version=$(make go-version)" >> $GITHUB_OUTPUT | |
| - name: Set up Go | |
| uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # tag=v5.5.0 | |
| with: | |
| go-version: ${{ steps.vars.outputs.go_version }} | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # tag=v8.0.0 | |
| with: | |
| version: v2.3.0 | |
| working-directory: ${{matrix.working-directory}} | |
| - name: Lint API | |
| run: make lint-api |