bump golangci lint
This commit is contained in:
6
.github/workflows/go.yml
vendored
6
.github/workflows/go.yml
vendored
@@ -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 ./...
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user