File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ jobs:
1515 - name : Set up Go
1616 uses : actions/setup-go@v1
1717 with :
18- go-version : 1.24 .x
18+ go-version : 1.26 .x
1919 - name : Run GoReleaser (dry run)
2020 env :
2121 PACKAGE_NAME : github.com/lets-cli/lets
22- GOLANG_CROSS_VERSION : v1.24
22+ GOLANG_CROSS_VERSION : v1.26
2323 run : |
2424 docker run \
2525 --rm \
3333 - name : Run GoReleaser
3434 env :
3535 PACKAGE_NAME : github.com/lets-cli/lets
36- GOLANG_CROSS_VERSION : v1.24
36+ GOLANG_CROSS_VERSION : v1.26
3737 run : |
3838 docker run \
3939 --rm \
Original file line number Diff line number Diff line change 2222 - name : Setup go
2323 uses : actions/setup-go@v2
2424 with :
25- go-version : 1.24 .x
25+ go-version : 1.26 .x
2626 - name : Checkout code
2727 uses : actions/checkout@v2
2828 - run : go install gotest.tools/gotestsum@latest
Original file line number Diff line number Diff line change 1+ version : " 2"
12run :
3+ go : " 1.26"
24 tests : false
3- go : " 1.23"
4-
55linters :
6- enable-all : true
6+ default : all
77 disable :
8- - typecheck
9- - gomoddirectives
108 - containedctx
11- - gochecknoglobals
12- - goimports
13- - funlen
14- - godox
15- - maligned
16- - goerr113
17- - exhaustivestruct
18- - wrapcheck
19- - prealloc # enable it sometimes
20- - wsl
21- - ifshort
22- - unparam
9+ - copyloopvar
2310 - cyclop
24- - gocyclo
11+ - depguard
12+ - err113
13+ - exhaustive
14+ - exhaustruct
15+ - forcetypeassert
16+ - funlen
17+ - funcorder
18+ - gochecknoglobals
2519 - gocognit
26- - tagliatelle
27- - nestif
28- - nlreturn
20+ - gocritic
21+ - gocyclo
22+ - godoclint
23+ - godox
24+ - gomoddirectives
2925 - goprintffuncname
30- - exhaustruct
31- - wastedassign
26+ - gosec
27+ - importas
28+ - lll
29+ - mnd
30+ - musttag
31+ - nestif
3232 - nilnil
33+ - noctx
34+ - noinlineerr
35+ - nlreturn
36+ - prealloc
3337 - recvcheck
34- - musttag
35- - mnd
36- - lll
37- - gocritic
38- - forcetypeassert
39- - exhaustive
40- - depguard
4138 - revive
42- - gosec
43- - copyloopvar
44-
45- linters-settings :
46- lll :
47- line-length : 120
48- varnamelen :
49- min-name-length : 1
50-
51- issues :
52- exclude-rules :
53- - path : _test\.go
54- linters :
55- - gomnd
56- - path : set\.go
57- linters :
58- - typecheck
39+ - tagliatelle
40+ - unparam
41+ - wastedassign
42+ - wrapcheck
43+ - wsl
44+ settings :
45+ lll :
46+ line-length : 120
47+ varnamelen :
48+ min-name-length : 1
49+ exclusions :
50+ generated : lax
51+ presets :
52+ - comments
53+ - common-false-positives
54+ - legacy
55+ - std-error-handling
56+ rules :
57+ - linters :
58+ - mnd
59+ path : _test\.go
60+ paths :
61+ - third_party$
62+ - builtin$
63+ - examples$
Original file line number Diff line number Diff line change 1- FROM golang:1.24 -bookworm AS builder
1+ FROM golang:1.26 -bookworm AS builder
22
33ENV GOPROXY=https://proxy.golang.org
44ENV CGO_ENABLED=1
@@ -26,6 +26,6 @@ COPY go.sum .
2626
2727RUN go mod download
2828
29- FROM golangci/golangci-lint:v1.64.7 -alpine AS linter
29+ FROM golangci/golangci-lint:v2.11.3 -alpine AS linter
3030
3131RUN mkdir -p /.cache && chmod -R 777 /.cache
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ title: Changelog
55
66## [ Unreleased] ( https://github.com/lets-cli/lets/releases/tag/v0.0.X )
77
8+ * ` [Dependency] ` update go to ` 1.26 `
89* ` [Added] ` Show similar command suggestions on typos.
910* ` [Changed] ` Exit code 2 on unknown command.
1011* ` [Added] ` Expose ` LETS_OS ` and ` LETS_ARCH ` environment variables at command runtime.
Original file line number Diff line number Diff line change 11module github.com/lets-cli/lets
22
3- go 1.24
3+ go 1.26
44
55require (
66 github.com/codeclysm/extract v2.2.0+incompatible
You can’t perform that action at this time.
0 commit comments