File tree 6 files changed +9
-7
lines changed
6 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 13
13
name : Lint
14
14
strategy :
15
15
matrix :
16
- go-version : [1.22 .x, 1.23 .x]
16
+ go-version : [1.23 .x, 1.24 .x]
17
17
runs-on : ubuntu-latest
18
18
steps :
19
19
- uses : actions/setup-go@v5
25
25
- name : golangci-lint
26
26
uses : golangci/golangci-lint-action@v6
27
27
with :
28
- version : v1.60.1
28
+ version : v1.64.2
29
29
30
30
lint-jsonschema :
31
31
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 15
15
- name : Set up Go
16
16
uses : actions/setup-go@v5
17
17
with :
18
- go-version : 1.22 .x
18
+ go-version : 1.23 .x
19
19
20
20
- name : Run GoReleaser
21
21
uses : goreleaser/goreleaser-action@v6
Original file line number Diff line number Diff line change 13
13
name : Test
14
14
strategy :
15
15
matrix :
16
- go-version : [1.22 .x, 1.23 .x]
16
+ go-version : [1.23 .x, 1.24 .x]
17
17
platform : [ubuntu-latest, macos-latest, windows-latest]
18
18
runs-on : ${{matrix.platform}}
19
19
steps :
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ linters:
12
12
- misspell
13
13
- noctx
14
14
- paralleltest
15
- - tenv
15
+ - usetesting
16
16
- thelper
17
17
- tparallel
18
18
@@ -29,6 +29,8 @@ linters-settings:
29
29
desc : " Use github.com/go-task/task/v3/errors instead"
30
30
goimports :
31
31
local-prefixes : github.com/go-task
32
+ gofumpt :
33
+ module-path : github.com/go-task/task/v3
32
34
gofmt :
33
35
rewrite-rules :
34
36
- pattern : ' interface{}'
Original file line number Diff line number Diff line change 1
1
module github.com/go-task/task/v3
2
2
3
- go 1.22 .0
3
+ go 1.23 .0
4
4
5
5
require (
6
6
github.com/Ladicle/tabwriter v1.0.0
Original file line number Diff line number Diff line change 12
12
13
13
func init () {
14
14
info , ok := debug .ReadBuildInfo ()
15
- if ! ok || info .Main .Version == "" {
15
+ if ! ok || info .Main .Version == "(devel)" || info . Main . Version == " " {
16
16
version = "unknown"
17
17
} else {
18
18
if version == "" {
You can’t perform that action at this time.
0 commit comments