From 7a34361c82c8f082e1430fc05661db4a501745d7 Mon Sep 17 00:00:00 2001 From: sentriz Date: Sun, 13 Dec 2020 19:11:22 +0000 Subject: [PATCH] bump golangci lint --- .github/workflows/go.yml | 6 +++--- .golangci.yml | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index f5d43ff..6ac007f 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -9,7 +9,7 @@ jobs: test: strategy: 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] runs-on: ${{ matrix.platform }} steps: @@ -24,8 +24,8 @@ jobs: sudo apt update sudo apt install build-essential git sqlite libtag1-dev ffmpeg libasound-dev - name: Lint - uses: golangci/golangci-lint-action@v1 + uses: golangci/golangci-lint-action@v2 with: - version: v1.28 + version: v1.33 - name: Test run: go test ./... diff --git a/.golangci.yml b/.golangci.yml index 86ee46e..8126bac 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -45,6 +45,9 @@ issues: - text: "weak cryptographic primitive" linters: - gosec + - text: "weak random number generator" + linters: + - gosec # TODO: fix these - text: "should have comment"