File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 26
26
run : make fmtcheck
27
27
28
28
- name : Linter
29
- uses : golangci/golangci-lint-action@v6
29
+ uses : golangci/golangci-lint-action@v8
30
30
31
31
build :
32
32
name : test
Original file line number Diff line number Diff line change
1
+ version : " 2"
1
2
run :
2
3
timeout : 5m
3
- linters :
4
+ formatters :
4
5
enable :
5
6
- goimports
6
- - revive
7
- - ineffassign
8
- - errcheck
Original file line number Diff line number Diff line change 17
17
if [ -f " ${NAME} " ] ; then rm ${NAME} ; fi
18
18
19
19
lint :
20
- docker run --rm -v $(PWD ) :/app -w /app golangci/golangci-lint:v1.59.1 golangci-lint run -v
20
+ docker run --rm -v $(PWD ) :/app -w /app golangci/golangci-lint:v2.1.6 golangci-lint run -v
21
21
22
22
fmtcheck : tools.goimports
23
23
@echo " --> checking code formatting with 'goimports' tool"
You can’t perform that action at this time.
0 commit comments