File tree Expand file tree Collapse file tree 5 files changed +34
-34
lines changed Expand file tree Collapse file tree 5 files changed +34
-34
lines changed Original file line number Diff line number Diff line change 20
20
go :
21
21
- " 1"
22
22
- " 1.24"
23
- - " 1.23"
24
23
fail-fast : false
25
24
runs-on : ${{ matrix.os }}
26
25
Original file line number Diff line number Diff line change
1
+ version : " 2"
1
2
run :
2
3
go : " 1.20"
3
-
4
- issues :
5
- exclude-use-default : false
6
-
7
4
linters :
8
- disable-all : true
5
+ default : none
9
6
enable :
10
- - deadcode
11
- - errcheck
12
- - gosimple
13
- - govet
14
- - ineffassign
15
- - staticcheck
16
- - structcheck
17
- - typecheck
18
- - unused
19
- - varcheck
20
7
- asciicheck
21
8
- bodyclose
22
9
- dogsled
23
10
- durationcheck
11
+ - errcheck
24
12
- errorlint
25
13
- exhaustive
26
- - exportloopref
27
14
- forcetypeassert
28
15
- gochecknoglobals
29
16
- gochecknoinits
30
17
- goconst
31
18
- gocritic
32
- - goimports
33
- - gomnd
34
19
- gosec
35
- - ifshort
20
+ - govet
21
+ - ineffassign
36
22
- misspell
23
+ - mnd
37
24
- nakedret
38
25
- noctx
39
26
- nolintlint
40
27
- paralleltest
41
28
- prealloc
42
29
- rowserrcheck
43
30
- sqlclosecheck
44
- - stylecheck
31
+ - staticcheck
45
32
- tagliatelle
46
33
- thelper
47
34
- unconvert
48
35
- unparam
36
+ - unused
49
37
- wastedassign
50
38
- whitespace
51
- linters-settings :
52
- tagliatelle :
53
- case :
54
- use-field-name : true
55
- rules :
56
- json : snake
39
+ settings :
40
+ tagliatelle :
41
+ case :
42
+ rules :
43
+ json : snake
44
+ use-field-name : true
45
+ exclusions :
46
+ generated : lax
47
+ paths :
48
+ - third_party$
49
+ - builtin$
50
+ - examples$
51
+ formatters :
52
+ enable :
53
+ - goimports
54
+ exclusions :
55
+ generated : lax
56
+ paths :
57
+ - third_party$
58
+ - builtin$
59
+ - examples$
Original file line number Diff line number Diff line change @@ -383,7 +383,7 @@ subaru = github.com/nao1215/subaru
383
383
})
384
384
385
385
if ! file .IsFile (config .FilePath ()) {
386
- t .Errorf (config .FilePath () + " does not exist. failed to generate" )
386
+ t .Error (config .FilePath () + " does not exist. failed to generate" )
387
387
continue
388
388
}
389
389
Original file line number Diff line number Diff line change 1
1
module github.com/nao1215/gup
2
2
3
- go 1.23.0
4
-
5
- toolchain go1.24.0
3
+ go 1.24.0
6
4
7
5
require (
8
6
github.com/adrg/xdg v0.5.3
@@ -16,7 +14,7 @@ require (
16
14
github.com/shogo82148/pointer v1.3.0
17
15
github.com/spf13/cobra v1.9.1
18
16
golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1
19
- golang.org/x/sync v0.12 .0
17
+ golang.org/x/sync v0.13 .0
20
18
)
21
19
22
20
require (
Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ github.com/tadvi/systray v0.0.0-20190226123456-11a2b8fa57af h1:6yITBqGTE2lEeTPG0
44
44
github.com/tadvi/systray v0.0.0-20190226123456-11a2b8fa57af /go.mod h1:4F09kP5F+am0jAwlQLddpoMDM+iewkxxt6nxUQ5nq5o =
45
45
golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1 h1:k/i9J1pBpvlfR+9QsetwPyERsqu1GIbi967PQMq3Ivc =
46
46
golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1 /go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w =
47
- golang.org/x/sync v0.12 .0 h1:MHc5BpPuC30uJk597Ri8TV3CNZcTLu6B6z4lJy+g6Jw =
48
- golang.org/x/sync v0.12 .0 /go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA =
47
+ golang.org/x/sync v0.13 .0 h1:AauUjRAJ9OSnvULf/ARrrVywoJDy0YS2AwQ98I37610 =
48
+ golang.org/x/sync v0.13 .0 /go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA =
49
49
golang.org/x/sys v0.0.0-20220319134239-a9b59b0215f8 /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
50
50
golang.org/x/sys v0.6.0 /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
51
51
golang.org/x/sys v0.29.0 h1:TPYlXGxvx1MGTn2GiZDhnjPA9wZzZeGKHHmKhHYvgaU =
You can’t perform that action at this time.
0 commit comments