From 9f2ab0b2b6d5764cd138e2fe64590dffe880396d Mon Sep 17 00:00:00 2001 From: Jacob Oaks Date: Mon, 29 Apr 2024 13:39:10 -0400 Subject: CI: Fix golangci-lint installation step Following https://github.com/uber-go/zap/pull/1424 and https://github.com/uber-go/fx/pull/1185 as examples. `--version` is no longer accepted. Use `--help` instead. --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index e8e084e..8beec33 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -49,7 +49,7 @@ jobs: name: Install golangci-lint with: version: latest - args: --version # make lint will run the linter + args: --help # make lint will run the linter - run: make lint name: Lint -- cgit v1.2.3 From de16e3c8bca262129abf80187aef7b4390ca92ee Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 17:51:37 +0000 Subject: Bump golangci/golangci-lint-action from 3 to 5 Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3 to 5. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](https://github.com/golangci/golangci-lint-action/compare/v3...v5) --- 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/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 8beec33..5d47587 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -45,7 +45,7 @@ jobs: go-version: 1.21.x cache: false # managed by golangci-lint - - uses: golangci/golangci-lint-action@v3 + - uses: golangci/golangci-lint-action@v5 name: Install golangci-lint with: version: latest -- cgit v1.2.3