File tree 5 files changed +15
-21
lines changed
5 files changed +15
-21
lines changed Original file line number Diff line number Diff line change @@ -17,24 +17,22 @@ jobs:
17
17
fail-fast : false
18
18
matrix :
19
19
os :
20
- - macos-11
21
- - macos-12
22
- - ubuntu-22 .04
20
+ - macos-13
21
+ - macos-14
22
+ - ubuntu-24 .04
23
23
- windows-2022
24
24
steps :
25
- - uses : actions/checkout@v3
25
+ - uses : actions/checkout@v4
26
26
with :
27
27
fetch-depth : 0
28
- - uses : actions/setup-go@v3
28
+ - uses : actions/setup-go@v5
29
29
with :
30
- go-version : ' ^1.18.4'
31
- cache : true
30
+ go-version-file : go.mod
32
31
- name : golangci-lint
33
- uses : golangci/golangci-lint-action@v3
32
+ uses : golangci/golangci-lint-action@v6
34
33
with :
35
- version : v1.48
36
- skip-pkg-cache : true
37
- skip-build-cache : true
34
+ version : v1.62.2
35
+ args : --timeout=30m
38
36
- run : go run mage.go test
39
37
- run : go run mage.go snapshot
40
38
if : ${{ matrix.os }} == 'ubuntu-22.04'
Original file line number Diff line number Diff line change 24
24
25
25
steps :
26
26
- name : Checkout repository
27
- uses : actions/checkout@v3
27
+ uses : actions/checkout@v4
28
28
29
29
# Initializes the CodeQL tools for scanning.
30
30
- name : Initialize CodeQL
Original file line number Diff line number Diff line change @@ -10,13 +10,12 @@ jobs:
10
10
name : Release
11
11
runs-on : ubuntu-22.04
12
12
steps :
13
- - uses : actions/checkout@v3
13
+ - uses : actions/checkout@v4
14
14
with :
15
15
fetch-depth : 0
16
- - uses : actions/setup-go@v3
16
+ - uses : actions/setup-go@v5
17
17
with :
18
- go-version : ' ^1.18.4'
19
- cache : true
18
+ go-version-file : go.mod
20
19
- run : go run mage.go release
21
20
env :
22
21
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -5,22 +5,19 @@ linters:
5
5
- bodyclose
6
6
- decorder
7
7
- durationcheck
8
+ - err113
8
9
- errchkjson
9
10
- errname
10
11
- errorlint
11
- - execinquery
12
12
- exhaustive
13
- - exportloopref
14
13
- gocritic
15
- - goerr113
16
14
- gofmt
17
15
- goimports
18
16
- goprintffuncname
19
17
- gosec
20
18
- importas
21
19
- misspell
22
20
- nolintlint
23
- - nosnakecase
24
21
- prealloc
25
22
- predeclared
26
23
- promlinter
Original file line number Diff line number Diff line change 1
1
module github.com/curioswitch/go-reassign
2
2
3
- go 1.18
3
+ go 1.21
4
4
5
5
require (
6
6
github.com/magefile/mage v1.14.0
You can’t perform that action at this time.
0 commit comments