diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 6bdcae2ff..acf7d21c7 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -26,7 +26,7 @@ jobs: files: '.' config_file: ".markdownlint.json" - - name: Set up Go 1.x + - name: Set up Go uses: actions/setup-go@v5 with: go-version-file: go.mod @@ -44,11 +44,11 @@ jobs: # https://github.com/golangci/golangci-lint-action?tab=readme-ov-file#verify - name: Verify linter configuration and Lint go code - uses: golangci/golangci-lint-action@v7 + uses: golangci/golangci-lint-action@v2 with: verify: true args: --timeout=30m - version: v2.0 + version: v2.1 # Run Spectral - name: Lint OpenAPI spec diff --git a/scripts/install-tools.sh b/scripts/install-tools.sh index 54c8f2c40..ce2eb86b9 100755 --- a/scripts/install-tools.sh +++ b/scripts/install-tools.sh @@ -17,7 +17,7 @@ # renovate: datasource=github-releases depName=kubernetes-sigs/controller-tools CONTROLLER_TOOLS_GENERATOR_VERSION=v0.17.2 # renovate: datasource=github-releases depName=golangci/golangci-lint -GOLANG_CI_LINTER_VERSION=v2.0.2 +GOLANG_CI_LINTER_VERSION=v2.1.6 # Execute # scripts/install-tools.sh