File tree 3 files changed +23
-25
lines changed
3 files changed +23
-25
lines changed Original file line number Diff line number Diff line change 11
11
12
12
jobs :
13
13
14
- lint :
15
- runs-on : ubuntu-latest
16
- steps :
17
- - uses : actions/checkout@v3
18
- - name : golangci-lint
19
- uses : golangci/golangci-lint-action@0ad9a0988b3973e851ab0a07adf248ec2e100376
20
- with :
21
- version : v1.50.1
22
-
23
14
test :
24
15
runs-on : ubuntu-latest
25
16
steps :
26
17
- uses : actions/checkout@v3
27
18
- run : go test -v ./...
28
19
29
20
build-and-upload :
30
- needs : [lint, test]
21
+ needs : [test]
31
22
runs-on : ubuntu-latest
32
23
steps :
33
24
- uses : actions/checkout@v3
34
25
- if : ${{ github.event_name != 'release' }}
35
- uses : goreleaser/goreleaser-action@8f67e590f2d095516493f017008adc464e63adb1
26
+ uses : goreleaser/goreleaser-action@90a3faa9d0182683851fbfa97ca1a2cb983bfca3
36
27
with :
37
- args : release --rm-dist --snapshot
28
+ # either 'goreleaser' (default) or 'goreleaser-pro'
29
+ distribution : goreleaser
30
+ # 'latest', 'nightly', or a semver
31
+ version : ' ~> v2'
32
+ args : release --clean --snapshot
38
33
- if : ${{ github.event_name == 'release' }}
39
- uses : goreleaser/goreleaser-action@8f67e590f2d095516493f017008adc464e63adb1
34
+ uses : goreleaser/goreleaser-action@90a3faa9d0182683851fbfa97ca1a2cb983bfca3
40
35
with :
41
36
args : release --rm-dist
42
37
env :
43
38
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
44
- - uses : actions/upload-artifact@v3
39
+ - uses : actions/upload-artifact@v4
45
40
with :
46
41
name : binaries
47
42
path : dist/*
Original file line number Diff line number Diff line change 1
1
module 4d63.com/gocheckcompilerdirectives
2
2
3
- go 1.19
3
+ go 1.22.0
4
4
5
- require golang.org/x/tools v0.5.0
5
+ toolchain go1.24.0
6
+
7
+ require golang.org/x/tools v0.13.0
6
8
7
9
require (
8
- golang.org/x/mod v0.7 .0 // indirect
9
- golang.org/x/sys v0.4 .0 // indirect
10
+ golang.org/x/mod v0.23 .0 // indirect
11
+ golang.org/x/sys v0.30 .0 // indirect
10
12
)
Original file line number Diff line number Diff line change 1
- golang.org/x/mod v0.7.0 h1:LapD9S96VoQRhi/GrNTqeBJFrUjs5UHCAtTlgwA5oZA =
2
- golang.org/x/mod v0.7.0 /go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs =
3
- golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o =
4
- golang.org/x/sys v0.4.0 h1:Zr2JFtRQNX3BCZ8YtxRE9hNJYC8J6I1MVbMg6owUp18 =
5
- golang.org/x/sys v0.4.0 /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
6
- golang.org/x/tools v0.5.0 h1:+bSpV5HIeWkuvgaMfI3UmKRThoTA5ODJTUd8T17NO+4 =
7
- golang.org/x/tools v0.5.0 /go.mod h1:N+Kgy78s5I24c24dU8OfWNEotWjutIs8SnJvn5IDq+k =
1
+ golang.org/x/mod v0.23.0 h1:Zb7khfcRGKk+kqfxFaP5tZqCnDZMjC5VtUBs87Hr6QM =
2
+ golang.org/x/mod v0.23.0 /go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY =
3
+ golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E =
4
+ golang.org/x/sync v0.3.0 /go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y =
5
+ golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc =
6
+ golang.org/x/sys v0.30.0 /go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA =
7
+ golang.org/x/tools v0.13.0 h1:Iey4qkscZuv0VvIt8E0neZjtPVQFSc870HQ448QgEmQ =
8
+ golang.org/x/tools v0.13.0 /go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58 =
You can’t perform that action at this time.
0 commit comments