Skip to content

Commit 4f7413e

Browse files
committed
Update GitHub action golangci-lint to v3
Update to latest action version, latest linter version and remove deprecated parameter.
1 parent 8f00384 commit 4f7413e

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

.github/workflows/nightly-release.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,9 @@ jobs:
3333
sudo apt update -qq
3434
sudo apt install -y -qq build-essential git sqlite libtag1-dev ffmpeg mpv zlib1g-dev
3535
- name: Lint
36-
uses: golangci/golangci-lint-action@v2
36+
uses: golangci/golangci-lint-action@v3
3737
with:
38-
version: v1.50.1
39-
skip-go-installation: true
38+
version: v1.52.2
4039
args: --timeout=5m
4140
- name: Test
4241
run: go test ./...

.github/workflows/release.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@ jobs:
1919
sudo apt update -qq
2020
sudo apt install -y -qq build-essential git sqlite libtag1-dev ffmpeg mpv zlib1g-dev
2121
- name: Lint
22-
uses: golangci/golangci-lint-action@v2
22+
uses: golangci/golangci-lint-action@v3
2323
with:
24-
version: v1.50.1
25-
skip-go-installation: true
24+
version: v1.52.2
2625
args: --timeout=5m
2726
- name: Test
2827
run: go test ./...

.github/workflows/test.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@ jobs:
2020
sudo apt update -qq
2121
sudo apt install -y -qq build-essential git sqlite libtag1-dev ffmpeg mpv zlib1g-dev
2222
- name: Lint
23-
uses: golangci/golangci-lint-action@v2
23+
uses: golangci/golangci-lint-action@v3
2424
with:
25-
version: v1.50.1
26-
skip-go-installation: true
25+
version: v1.52.2
2726
args: --timeout=5m
2827
- name: Test
2928
run: go test ./...

0 commit comments

Comments
 (0)