feat(ci): update golangci-lint and action (#325)

* Update linter

- Update Github golangci-lint-action to v3
- Update golangci-lint to v1.52.2

* Fix linter issues after updating to linter 1.52.2
This commit is contained in:
Gregor Zurowski
2023-05-19 14:05:14 +02:00
committed by GitHub
parent ab07b876b8
commit 85eeb860bf
15 changed files with 43 additions and 62 deletions

View File

@@ -33,10 +33,9 @@ jobs:
sudo apt update -qq
sudo apt install -y -qq build-essential git sqlite libtag1-dev ffmpeg mpv zlib1g-dev
- name: Lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
version: v1.50.1
skip-go-installation: true
version: v1.52.2
args: --timeout=5m
- name: Test
run: go test ./...

View File

@@ -19,10 +19,9 @@ jobs:
sudo apt update -qq
sudo apt install -y -qq build-essential git sqlite libtag1-dev ffmpeg mpv zlib1g-dev
- name: Lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
version: v1.50.1
skip-go-installation: true
version: v1.52.2
args: --timeout=5m
- name: Test
run: go test ./...

View File

@@ -20,10 +20,9 @@ jobs:
sudo apt update -qq
sudo apt install -y -qq build-essential git sqlite libtag1-dev ffmpeg mpv zlib1g-dev
- name: Lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
version: v1.50.1
skip-go-installation: true
version: v1.52.2
args: --timeout=5m
- name: Test
run: go test ./...