From b2aa1a72f9fc9b7f712de1ff2edd2ff5bc3faf40 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 24 Feb 2022 22:09:52 +0000 Subject: [PATCH 1/2] Bump golangci/golangci-lint-action from 2 to 3 Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 2 to 3. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](https://github.com/golangci/golangci-lint-action/compare/v2...v3) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/golangci-lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index d32c57a9e..da32b3eb5 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -12,6 +12,6 @@ jobs: steps: - uses: actions/checkout@v2 - name: golangci-lint - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v3 with: version: v1.43.0 From 91ca95d7cfc29f1129ddac9568d259e0bf18cdc1 Mon Sep 17 00:00:00 2001 From: Andreas Fritzler Date: Fri, 25 Feb 2022 13:48:14 +0100 Subject: [PATCH 2/2] Add setup-go as required for v3 --- .github/workflows/golangci-lint.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index da32b3eb5..9aa0976e2 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -1,7 +1,7 @@ name: Lint Golang Codebase on: - pull_request_target: + pull_request: paths-ignore: - 'docs/**' - '**/*.md' @@ -11,6 +11,9 @@ jobs: runs-on: self-hosted steps: - uses: actions/checkout@v2 + - uses: actions/setup-go@v2 + with: + go-version: '^1.17' - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: