From d6129810e27b4c8af591d3da105727e5c259989e Mon Sep 17 00:00:00 2001 From: Omer Aplatony Date: Tue, 3 Dec 2024 13:30:14 +0200 Subject: [PATCH] Add golangci-lint action to CI workflow Signed-off-by: Omer Aplatony --- .github/workflows/ci.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 19e3aedca9cf..ca2d707c2b7a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -37,6 +37,12 @@ jobs: run: hack/verify-all.sh -v env: GO111MODULE: auto + + - name: golangci-lint + uses: golangci/golangci-lint-action@v6 + with: + working-directory: ${{ env.GOPATH }}/src/k8s.io/autoscaler + version: v1.60 - name: Test working-directory: ${{ env.GOPATH }}/src/k8s.io/autoscaler