From 964a22471b58e8dd0cbdf1d32835ac4da9995063 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 6 Jul 2023 19:31:41 +0200 Subject: [PATCH] chore(deps): bump golangci/golangci-lint-action from 3.4.0 to 3.6.0 (#38) * chore(deps): bump golangci/golangci-lint-action from 3.4.0 to 3.6.0 Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.4.0 to 3.6.0. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](https://github.com/golangci/golangci-lint-action/compare/08e2f20817b15149a52b5b3ebe7de50aff2ba8c5...639cd343e1d3b897ff35927a75193d57cfcba299) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * add CHANGELOG for #38 * chore: disable lint depguard --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] Co-authored-by: Mickael Stanislas --- .changelog/38.txt | 3 +++ .github/workflows/tests.yml | 2 +- .golangci.yml | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .changelog/38.txt diff --git a/.changelog/38.txt b/.changelog/38.txt new file mode 100644 index 0000000..eb1fb1a --- /dev/null +++ b/.changelog/38.txt @@ -0,0 +1,3 @@ +```release-note:dependency +deps: bumps golangci/golangci-lint-action from 3.4.0 to 3.6.0 +``` diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a43af1b..7f8baeb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -29,6 +29,6 @@ jobs: cache: true - run: go mod download - name: Run linters - uses: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5 # v3.4.0 + uses: golangci/golangci-lint-action@639cd343e1d3b897ff35927a75193d57cfcba299 # v3.6.0 with: version: latest \ No newline at end of file diff --git a/.golangci.yml b/.golangci.yml index d43db36..6b5c8ac 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -10,7 +10,6 @@ linters: - bidichk # Checks for dangerous unicode character sequences [fast: true, auto-fix: false] - deadcode # Finds unused code [fast: false, auto-fix: false] - decorder # check declaration order and count of types, constants, variables and functions [fast: true, auto-fix: false] - - depguard # Go linter that checks if package imports are in a list of acceptable packages [fast: true, auto-fix: false] - dogsled # Checks assignments with too many blank identifiers (e.g. x, _, _, _, := f()) [fast: true, auto-fix: false] - durationcheck # check for two durations multiplied together [fast: false, auto-fix: false] - errcheck # Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases [fast: false, auto-fix: false] @@ -61,6 +60,7 @@ linters: - whitespace # Tool for detection of leading and trailing whitespace [fast: true, auto-fix: true] disable: + - depguard # Go linter that checks if package imports are in a list of acceptable packages [fast: true, auto-fix: false] - dupl # Tool for code clone detection [fast: true, auto-fix: false] - containedctx # containedctx is a linter that detects struct contained context.Context field [fast: true, auto-fix: false] - thelper # thelper detects golang test helpers without t.Helper() call and checks the consistency of test helpers [fast: false, auto-fix: false]