diff --git a/.github/workflows/go-lint.yaml b/.github/workflows/go-lint.yaml index ec0a8081882c..97bc117276d9 100644 --- a/.github/workflows/go-lint.yaml +++ b/.github/workflows/go-lint.yaml @@ -37,7 +37,7 @@ jobs: - ".github/workflows/go-lint.yaml" - if: steps.changes.outputs.src == 'true' name: golangci-lint - uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0 + uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0 with: version: latest working-directory: ${{ matrix.folder }} diff --git a/.github/workflows/go-module-swapper.yml b/.github/workflows/go-module-swapper.yml index 3c51f9bff2e7..8bc77277524e 100644 --- a/.github/workflows/go-module-swapper.yml +++ b/.github/workflows/go-module-swapper.yml @@ -44,7 +44,7 @@ jobs: go-version-file: infra/module-swapper/go.mod cache-dependency-path: infra/module-swapper/go.sum - name: golangci-lint - uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0 + uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0 with: version: latest working-directory: 'infra/module-swapper'