bump golangci-lint to 1.33

This commit is contained in:
Víctor Zamanillo 2020-12-13 22:07:00 +01:00
parent 4cba40416d
commit 4fa66bd46c
2 changed files with 3 additions and 3 deletions

View File

@ -13,10 +13,10 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Run golangci-lint - name: Run golangci-lint
uses: golangci/golangci-lint-action@v1 uses: golangci/golangci-lint-action@v2
with: with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.31 version: v1.33
args: --timeout 5m args: --timeout 5m
working-directory: v2/ working-directory: v2/

View File

@ -110,6 +110,6 @@ linters:
# golangci.com configuration # golangci.com configuration
# https://github.com/golangci/golangci/wiki/Configuration # https://github.com/golangci/golangci/wiki/Configuration
service: service:
golangci-lint-version: 1.31.x # use the fixed version to not introduce new linters unexpectedly golangci-lint-version: 1.33.x # use the fixed version to not introduce new linters unexpectedly
prepare: prepare:
- echo "here I can run custom commands, but no preparation needed for this repo" - echo "here I can run custom commands, but no preparation needed for this repo"