File tree 6 files changed +69
-6
lines changed
6 files changed +69
-6
lines changed Original file line number Diff line number Diff line change 12
12
if : (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository)
13
13
strategy :
14
14
matrix :
15
- go : [ '1.21', '1. 22', '1.23' ]
15
+ go : [ '1.22', '1.23' ]
16
16
steps :
17
17
- uses : actions/checkout@v4
18
18
- uses : actions/setup-go@v5
Original file line number Diff line number Diff line change
1
+ run :
2
+ deadline : 5m
3
+ allow-parallel-runners : true
4
+ modules-download-mode : readonly
5
+
6
+ linters-settings :
7
+ govet :
8
+ enable=fieldalignment : true
9
+ revive :
10
+ rules :
11
+ # The following rules are recommended https://github.com/mgechev/revive#recommended-configuration
12
+ - name : blank-imports
13
+ - name : context-as-argument
14
+ - name : context-keys-type
15
+ - name : dot-imports
16
+ - name : error-return
17
+ - name : error-strings
18
+ - name : error-naming
19
+ - name : exported
20
+ - name : increment-decrement
21
+ - name : var-naming
22
+ - name : var-declaration
23
+ - name : package-comments
24
+ - name : range
25
+ - name : receiver-naming
26
+ - name : time-naming
27
+ - name : unexported-return
28
+ - name : indent-error-flow
29
+ - name : errorf
30
+ - name : empty-block
31
+ - name : superfluous-else
32
+ - name : unused-parameter
33
+ - name : unreachable-code
34
+ - name : redefines-builtin-id
35
+ #
36
+ # Rules in addition to the recommended configuration above.
37
+ #
38
+ - name : bool-literal-in-expr
39
+ - name : constant-logical-expr
40
+
41
+ linters :
42
+ disable-all : true
43
+ enable :
44
+ - copyloopvar
45
+ - dupl
46
+ - errcheck
47
+ - goconst
48
+ - gocyclo
49
+ - gofmt
50
+ - goimports
51
+ - gosimple
52
+ - govet
53
+ - ineffassign
54
+ - lll
55
+ - misspell
56
+ - nakedret
57
+ - prealloc
58
+ - revive
59
+ - staticcheck
60
+ - typecheck
61
+ - unconvert
62
+ - unparam
63
+ - unused
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ OUTDIR ?= $(TMPDIR)
15
15
16
16
# Dynamic version selection based on Go version
17
17
# Format: $(TOOLSDIR)/get_version.sh <go_version> <tool_version1> <tool_version2> ..
18
- GOLANGCI_LINT_VERSION ?= $(shell $(TOOLSDIR ) /get_version.sh 1.21 v1.59 v1.61 )
19
- REVIVE_VERSION ?= $(shell $(TOOLSDIR ) /get_version.sh 1.21 v1.4)
18
+ GOLANGCI_LINT_VERSION ?= $(shell $(TOOLSDIR ) /get_version.sh 1.22 v1.63.4 )
19
+ REVIVE_VERSION ?= $(shell $(TOOLSDIR ) /get_version.sh 1.22 v1.4)
20
20
21
21
GOLANGCI_LINT_URL ?= github.com/golangci/golangci-lint/cmd/golangci-lint@$(GOLANGCI_LINT_VERSION )
22
22
GOLANGCI_LINT ?= $(GO ) run $(GOLANGCI_LINT_URL )
Original file line number Diff line number Diff line change 1
1
module darvaza.org/acmefy
2
2
3
- go 1.21
3
+ go 1.22
4
4
5
5
require github.com/go-jose/go-jose/v4 v4.0.4
Original file line number Diff line number Diff line change 1
1
module darvaza.org/acmefy/pkg/respond
2
2
3
- go 1.21
3
+ go 1.22
4
4
5
5
require (
6
6
darvaza.org/acmefy v0.4.6
Original file line number Diff line number Diff line change 6
6
"packageRules" : [
7
7
{
8
8
"matchDatasources" : [" golang-version" ],
9
- "allowedVersions" : " 1.21 "
9
+ "allowedVersions" : " 1.22 "
10
10
},
11
11
{
12
12
"groupName" : " Darvaza Projects" ,
You can’t perform that action at this time.
0 commit comments