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]