From a4adbb7f5841e31dfbf77033bae4ab57ea60f341 Mon Sep 17 00:00:00 2001 From: Jiahui <4543bxy@gmail.com> Date: Tue, 24 Oct 2023 10:24:15 +0800 Subject: [PATCH] fix golang ci lint version (#4154) --- .github/workflows/controllers.yml | 2 +- .github/workflows/services.yml | 2 +- .github/workflows/webhooks.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/controllers.yml b/.github/workflows/controllers.yml index 760ad0cf8a6..70a2337c309 100644 --- a/.github/workflows/controllers.yml +++ b/.github/workflows/controllers.yml @@ -67,7 +67,7 @@ jobs: - name: Run Linter uses: golangci/golangci-lint-action@v3 with: - version: latest + version: 1.54.2 working-directory: ${{ matrix.workdir }} args: "--out-${NO_FUTURE}format colored-line-number" diff --git a/.github/workflows/services.yml b/.github/workflows/services.yml index 54cd9eae9e7..50b70f3f4a3 100644 --- a/.github/workflows/services.yml +++ b/.github/workflows/services.yml @@ -65,7 +65,7 @@ jobs: - name: Run Linter uses: golangci/golangci-lint-action@v3 with: - version: latest + version: 1.54.2 working-directory: ${{ matrix.workdir }} args: "--out-${NO_FUTURE}format colored-line-number" diff --git a/.github/workflows/webhooks.yml b/.github/workflows/webhooks.yml index 22abba8ce58..bc96cdac162 100644 --- a/.github/workflows/webhooks.yml +++ b/.github/workflows/webhooks.yml @@ -59,7 +59,7 @@ jobs: - name: Run Linter uses: golangci/golangci-lint-action@v3 with: - version: latest + version: 1.54.2 working-directory: ${{ matrix.workdir }} args: "--out-${NO_FUTURE}format colored-line-number"