File tree Expand file tree Collapse file tree 6 files changed +51
-20
lines changed
Expand file tree Collapse file tree 6 files changed +51
-20
lines changed Original file line number Diff line number Diff line change 88 name : lint
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v4
11+ - uses : actions/checkout@v5
1212
1313 - name : golangci-lint
14- uses : golangci/golangci-lint-action@v3
14+ uses : golangci/golangci-lint-action@v8
Original file line number Diff line number Diff line change @@ -3,21 +3,21 @@ name: Release
33on :
44 push :
55 tags :
6- - ' * '
6+ - " * "
77
88jobs :
99 goreleaser :
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Checkout
13- uses : actions/checkout@v4
13+ uses : actions/checkout@v5
1414 with :
1515 fetch-depth : 0
1616
1717 - name : Set up Go
18- uses : actions/setup-go@v4
18+ uses : actions/setup-go@v6
1919 with :
20- go-version : ' 1.21.1 '
20+ go-version : " 1.25.3 "
2121
2222 - name : Set up QEMU
2323 uses : docker/setup-qemu-action@v3
3232 password : ${{ secrets.DOCKER_TOKEN }}
3333
3434 - name : Run GoReleaser
35- uses : goreleaser/goreleaser-action@v5
35+ uses : goreleaser/goreleaser-action@v6
3636 with :
3737 version : latest
3838 args : release --rm-dist
Original file line number Diff line number Diff line change 1+ version : " 2"
12linters :
2- enable-all : true
3+ default : all
34 disable :
4- - containedctx
5- - exhaustruct
6- - exhaustivestruct
7- - tagliatelle
8-
9- linters-settings :
10- varnamelen :
11- ignore-decls :
12- - w http.ResponseWriter
13- - r *http.Request
5+ - containedctx
6+ - exhaustruct
7+ - tagliatelle
8+ - noinlineerr
9+ - perfsprint
10+ settings :
11+ staticcheck :
12+ checks :
13+ - " -QF1001"
14+ varnamelen :
15+ ignore-decls :
16+ - w http.ResponseWriter
17+ - r *http.Request
18+ exclusions :
19+ generated : lax
20+ presets :
21+ - comments
22+ - common-false-positives
23+ - legacy
24+ - std-error-handling
25+ paths :
26+ - third_party$
27+ - builtin$
28+ - examples$
29+ formatters :
30+ enable :
31+ - gci
32+ - gofmt
33+ - gofumpt
34+ - goimports
35+ exclusions :
36+ generated : lax
37+ paths :
38+ - third_party$
39+ - builtin$
40+ - examples$
Original file line number Diff line number Diff line change 1+ version : 2
2+
13before :
24 hooks :
35 - go mod tidy
@@ -60,6 +62,8 @@ docker_manifests:
6062 - ' w3irdrobot/voltageautounlock:{{ .Version }}-linux-386'
6163
6264changelog :
65+ use : github
66+ sort : asc
6367 filters :
6468 exclude :
6569 - ' ^docs:'
Original file line number Diff line number Diff line change 1- FROM alpine:3.18
1+ FROM alpine:3.22
22
33ARG BINARY_NAME=server
44
Original file line number Diff line number Diff line change 11module github.com/w3irdrobot/voltageautounlock
22
3- go 1.21
3+ go 1.25
You can’t perform that action at this time.
0 commit comments