File tree 5 files changed +37
-19
lines changed
5 files changed +37
-19
lines changed Original file line number Diff line number Diff line change 14
14
runs-on : ubuntu-latest
15
15
steps :
16
16
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17
- - uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3 .0
17
+ - uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4 .0
18
18
with :
19
19
go-version-file : ' go.mod'
20
20
- run : go install github.com/rhysd/actionlint/cmd/actionlint@latest
Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ jobs:
17
17
runs-on : ubuntu-latest
18
18
steps :
19
19
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20
- - uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3 .0
20
+ - uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4 .0
21
21
with :
22
22
go-version-file : ' go.mod'
23
23
- run : go mod download
24
- - uses : golangci/golangci-lint-action@4696ba8babb6127d732c3c6dde519db15edab9ea # v6.5.1
24
+ - uses : golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd # v7.0.0
25
25
26
26
test :
27
27
name : test (Go v${{ matrix.go-version }})
@@ -31,13 +31,13 @@ jobs:
31
31
go-version : [ '1.24', '1.23' ]
32
32
steps :
33
33
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
34
- - uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3 .0
34
+ - uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4 .0
35
35
with :
36
36
go-version : ${{ matrix.go-version }}
37
37
- run : go mod download
38
38
- run : go test -coverprofile=coverage.out ./...
39
39
- run : go tool cover -html=coverage.out -o coverage.html
40
- - uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
40
+ - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
41
41
with :
42
42
name : go-${{ matrix.go-version }}-coverage
43
43
path : coverage.html
Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18
- - uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3 .0
18
+ - uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4 .0
19
19
with :
20
20
go-version-file : ' go.mod'
21
- - uses : goreleaser/goreleaser-action@90a3faa9d0182683851fbfa97ca1a2cb983bfca3 # v6.2.1
21
+ - uses : goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6.3.0
22
22
with :
23
23
args : check
Original file line number Diff line number Diff line change 84
84
ref : ${{ inputs.versionNumber }}
85
85
fetch-depth : 0
86
86
87
- - uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3 .0
87
+ - uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4 .0
88
88
with :
89
89
go-version-file : ' go.mod'
90
90
93
93
cd .changes
94
94
sed -e "1{/# /d;}" -e "2{/^$/d;}" ${{ needs.changelog-version.outputs.version }}.md > /tmp/release-notes.txt
95
95
96
- - uses : goreleaser/goreleaser-action@90a3faa9d0182683851fbfa97ca1a2cb983bfca3 # v6.2.1
96
+ - uses : goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6.3.0
97
97
env :
98
98
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
99
99
with :
Original file line number Diff line number Diff line change 1
- issues :
2
- max-issues-per-linter : 0
3
- max-same-issues : 0
4
-
1
+ version : " 2"
5
2
linters :
6
- disable-all : true
3
+ default : none
7
4
enable :
5
+ - copyloopvar
8
6
- durationcheck
9
7
- errcheck
10
- - copyloopvar
11
8
- forcetypeassert
12
- - gofmt
13
- - gosimple
9
+ - govet
14
10
- ineffassign
15
11
- makezero
16
12
- misspell
17
13
- nilerr
18
14
- paralleltest
19
15
- predeclared
20
16
- staticcheck
21
- - usetesting
22
17
- unconvert
23
18
- unparam
24
19
- unused
25
- - govet
20
+ - usetesting
21
+ exclusions :
22
+ generated : lax
23
+ presets :
24
+ - comments
25
+ - common-false-positives
26
+ - legacy
27
+ - std-error-handling
28
+ paths :
29
+ - third_party$
30
+ - builtin$
31
+ - examples$
32
+ issues :
33
+ max-issues-per-linter : 0
34
+ max-same-issues : 0
35
+ formatters :
36
+ enable :
37
+ - gofmt
38
+ exclusions :
39
+ generated : lax
40
+ paths :
41
+ - third_party$
42
+ - builtin$
43
+ - examples$
You can’t perform that action at this time.
0 commit comments