bump golangci lint

This commit is contained in:
sentriz
2020-12-13 19:11:22 +00:00
parent 1b67a2f960
commit 7a34361c82
2 changed files with 6 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ jobs:
test: test:
strategy: strategy:
matrix: matrix:
go-version: [1.12.x, 1.13.x, 1.14.x] go-version: [1.13.x, 1.14.x, 1.15.x]
platform: [ubuntu-latest] platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
steps: steps:
@@ -24,8 +24,8 @@ jobs:
sudo apt update sudo apt update
sudo apt install build-essential git sqlite libtag1-dev ffmpeg libasound-dev sudo apt install build-essential git sqlite libtag1-dev ffmpeg libasound-dev
- name: Lint - name: Lint
uses: golangci/golangci-lint-action@v1 uses: golangci/golangci-lint-action@v2
with: with:
version: v1.28 version: v1.33
- name: Test - name: Test
run: go test ./... run: go test ./...

View File

@@ -45,6 +45,9 @@ issues:
- text: "weak cryptographic primitive" - text: "weak cryptographic primitive"
linters: linters:
- gosec - gosec
- text: "weak random number generator"
linters:
- gosec
# TODO: fix these # TODO: fix these
- text: "should have comment" - text: "should have comment"