Skip to content

Commit 5e08a90

Browse files
committed
Bump tool versions
1 parent f69def8 commit 5e08a90

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

.github/workflows/go.yml .github/workflows/test.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Go
1+
name: Test
22

33
on:
44
push:
@@ -11,15 +11,16 @@ permissions:
1111

1212
jobs:
1313
test:
14+
name: Test
1415
strategy:
1516
matrix:
1617
os:
1718
- ubuntu-latest
1819
- windows-latest
1920
go-version:
20-
- '1.19'
2121
- '1.20'
2222
- '1.21'
23+
- '1.22'
2324
runs-on: ${{ matrix.os }}
2425
steps:
2526
- uses: actions/checkout@v3
@@ -35,14 +36,15 @@ jobs:
3536
run: go test -trimpath -v ./...
3637

3738
lint:
39+
name: Lint
3840
runs-on: ubuntu-latest
3941
steps:
4042
- uses: actions/checkout@v3
4143
- name: Set up Go
4244
uses: actions/setup-go@v4
4345
with:
44-
go-version: '1.21'
46+
go-version: '1.22'
4547
- name: Lint
4648
uses: golangci/golangci-lint-action@v3
4749
with:
48-
version: v1.54.2
50+
version: v1.57.2

.golangci.yaml

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
issues:
22
max-same-issues: 0
3-
exclude-use-default: 0
3+
exclude-use-default: false
44
exclude:
55
- if-return
66
exclude-rules:
7-
path: _test\.go
8-
linters:
9-
- dupl
10-
- gosec
7+
- path: _test\.go
8+
linters:
9+
- dupl
10+
- gosec
1111

1212
linters:
1313
enable:
@@ -60,7 +60,6 @@ linters-settings:
6060
disabled-checks:
6161
- paramTypeCombine
6262
- ptrToRefParam
63-
- sloppyTestFuncName
6463

6564
gofumpt:
6665
module-path: github.com/rliebz/ghost
@@ -71,7 +70,9 @@ linters-settings:
7170
- G307 # duplicate of errcheck
7271

7372
govet:
74-
check-shadowing: true
73+
enable-all: true
74+
disable:
75+
- fieldalignment
7576

7677
lll:
7778
line-length: 100

tusk.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tasks:
99
usage: Run static analysis
1010
description: |
1111
Run golangci-lint using the project configuration.
12-
run: go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.53.3 run ./...
12+
run: go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.57.1 run ./...
1313

1414
test:
1515
usage: Run unit tests

0 commit comments

Comments
 (0)