File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 4
4
test :
5
5
strategy :
6
6
matrix :
7
- go-version : [1.21 .x, 1.22 .x]
7
+ go-version : [1.22 .x, 1.23 .x]
8
8
os : [ubuntu-latest]
9
9
runs-on : ${{ matrix.os }}
10
10
steps :
11
11
- name : Install Go
12
- uses : actions/setup-go@v2
12
+ uses : actions/setup-go@v5
13
13
with :
14
14
go-version : ${{ matrix.go-version }}
15
15
- name : Checkout code
16
- uses : actions/checkout@v2
16
+ uses : actions/checkout@v4
17
17
- name : Download test data
18
- run : curl -L https://raw.githubusercontent.com/package-url/purl-spec/master/test-suite-data.json -o testdata/test-suite-data.json
18
+ # TODO(@shibumi): Remove pinned version and reset to master, once the failing npm test-cases got fixed.
19
+ run : curl -L https://raw.githubusercontent.com/package-url/purl-spec/0dd92f26f8bb11956ffdf5e8acfcee71e8560407/test-suite-data.json -o testdata/test-suite-data.json
19
20
- name : Test go fmt
20
21
run : test -z $(go fmt ./...)
21
22
- name : Golangci-lint
22
- uses : golangci/golangci-lint-action@v2
23
+ uses : golangci/golangci-lint-action@v6
23
24
with :
24
25
only-new-issues : true
25
26
- name : Test coverage
Original file line number Diff line number Diff line change @@ -5,13 +5,10 @@ linters-settings:
5
5
linters :
6
6
disable-all : true
7
7
enable :
8
- - deadcode
9
8
- errcheck
10
9
- gosimple
11
10
- govet
12
11
- ineffassign
13
12
- staticcheck
14
- - structcheck
15
13
- typecheck
16
- - unused
17
- - varcheck
14
+ - unused
You can’t perform that action at this time.
0 commit comments