File tree Expand file tree Collapse file tree 4 files changed +78
-15
lines changed
Expand file tree Collapse file tree 4 files changed +78
-15
lines changed Original file line number Diff line number Diff line change 1818 uses : mattermost/actions-workflows/.github/workflows/plugin-ci.yml@main
1919 secrets : inherit
2020 with :
21- golang-version : " 1.23 "
21+ golang-version : " 1.24.6 "
Original file line number Diff line number Diff line change 1+ version : 2
2+
13run :
24 timeout : 5m
35 modules-download-mode : readonly
@@ -16,29 +18,92 @@ linters-settings:
1618 - fieldalignment
1719 misspell :
1820 locale : US
21+ revive :
1922
2023linters :
2124 disable-all : true
2225 enable :
2326 - bodyclose
24- # - errcheck
25- # - goconst
27+ - errcheck
2628 - gocritic
27- - gofmt
28- - goimports
29- # - gosec
30- - gosimple
29+ - gosec
3130 - govet
3231 - ineffassign
33- # - misspell
32+ - misspell
3433 - nakedret
3534 - revive
3635 - staticcheck
37- - stylecheck
38- - typecheck
3936 - unconvert
4037 - unused
4138 - whitespace
39+ exclusions :
40+ rules :
41+ - linters :
42+ - revive
43+ text : var-naming|error-naming|exported|increment-decrement|error-strings|if-return|unused-parameter|blank-imports|empty-block|package-comments
44+ - linters :
45+ - errcheck
46+ text : Error return value
47+ - linters :
48+ - staticcheck
49+ text : SA1019
50+ - linters :
51+ - staticcheck
52+ text : ST1023
53+ - linters :
54+ - staticcheck
55+ text : ST1012
56+ - linters :
57+ - staticcheck
58+ text : ST1005
59+ - linters :
60+ - staticcheck
61+ text : QF1011
62+ - linters :
63+ - staticcheck
64+ text : QF1001
65+ - linters :
66+ - staticcheck
67+ text : QF1003
68+ - linters :
69+ - staticcheck
70+ text : QF1012
71+ - linters :
72+ - staticcheck
73+ text : QT1019
74+ - linters :
75+ - staticcheck
76+ text : QF1008
77+ - linters :
78+ - staticcheck
79+ text : QF1004
80+ - linters :
81+ - staticcheck
82+ text : ST1019
83+ - linters :
84+ - staticcheck
85+ text : QF1006
86+ - linters :
87+ - staticcheck
88+ text : QF1002
89+ - linters :
90+ - staticcheck
91+ text : QF1007
92+ - linters :
93+ - gosec
94+ text : G104
95+ - linters :
96+ - gosec
97+ text : G304
98+ - linters :
99+ - gosec
100+ text : G301
101+
102+ formatters :
103+ disable-all : true
104+ enable :
105+ - gofmt
106+ - goimports
42107
43108issues :
44109 exclude-rules :
Original file line number Diff line number Diff line change @@ -158,9 +158,9 @@ apply:
158158# # Install go tools
159159install-go-tools :
160160 @echo Installing go tools
161- $(GO ) install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.7
161+ $(GO ) install github.com/golangci/golangci-lint/v2/ cmd/golangci-lint@v2.6.0
162162 $(GO ) install gotest.tools/
[email protected] 163- $(GO ) install github.com/mattermost/mattermost-govet/v2@3f08281c344327ac09364f196b15f9a81c7eff08
163+ $(GO ) install github.com/mattermost/mattermost-govet/v2@7d8db289e508999dfcac47b97c9490a0fec12d66
164164
165165# # Runs eslint and golangci-lint
166166.PHONY : check-style
Original file line number Diff line number Diff line change 11module github.com/mattermost/mattermost-plugin-github
22
3- go 1.23.0
4-
5- toolchain go1.23.8
3+ go 1.24.6
64
75require (
86 github.com/Masterminds/sprig/v3 v3.2.2
You can’t perform that action at this time.
0 commit comments