File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 check-latest : true
2525
2626 - name : checkout code
27- uses : actions/checkout@v5
27+ uses : actions/checkout@v7
2828
2929 - name : Build
3030 run : make build
4141 parallel : true
4242
4343 - name : Upload coverage
44- uses : actions/upload-artifact@v4
44+ uses : actions/upload-artifact@v7
4545 with :
4646 name : coverage.${{ matrix.go }}
4747 path : coverage.*
Original file line number Diff line number Diff line change 1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Checkout
13- uses : actions/checkout@v5
13+ uses : actions/checkout@v7
1414 with :
1515 fetch-depth : 0
1616
@@ -22,20 +22,20 @@ jobs:
2222 run : go version
2323
2424 - name : Install GoReleaser
25- uses : goreleaser/goreleaser-action@v6
25+ uses : goreleaser/goreleaser-action@v7
2626 with :
2727 install-only : true
2828 - name : Show GoReleaser version
2929 run : goreleaser -v
3030
3131 - name : Login to Docker Hub
32- uses : docker/login-action@v3
32+ uses : docker/login-action@v4
3333 with :
3434 username : ${{ secrets.DOCKERHUB_USERNAME }}
3535 password : ${{ secrets.DOCKERHUB_TOKEN }}
3636
3737 - name : Run GoReleaser
38- uses : goreleaser/goreleaser-action@v6
38+ uses : goreleaser/goreleaser-action@v7
3939 if : success() && startsWith(github.ref, 'refs/tags/')
4040 with :
4141 # either 'goreleaser' (default) or 'goreleaser-pro'
Original file line number Diff line number Diff line change 88 runs-on : ubuntu-latest
99 steps :
1010 - name : Checkout
11- uses : actions/checkout@v5
11+ uses : actions/checkout@v7
1212 with :
1313 fetch-depth : 0
1414
@@ -20,22 +20,22 @@ jobs:
2020 run : go version
2121
2222 - name : Install GoReleaser
23- uses : goreleaser/goreleaser-action@v6
23+ uses : goreleaser/goreleaser-action@v7
2424 with :
2525 install-only : true
2626 - name : Show GoReleaser version
2727 run : goreleaser -v
2828
2929 - name : Run GoReleaser Check
30- uses : goreleaser/goreleaser-action@v6
30+ uses : goreleaser/goreleaser-action@v7
3131 with :
3232 # either 'goreleaser' (default) or 'goreleaser-pro'
3333 distribution : goreleaser
3434 version : latest
3535 args : check
3636
3737 - name : Run GoReleaser
38- uses : goreleaser/goreleaser-action@v6
38+ uses : goreleaser/goreleaser-action@v7
3939 with :
4040 # either 'goreleaser' (default) or 'goreleaser-pro'
4141 distribution : goreleaser
Original file line number Diff line number Diff line change 11version : 2
22builds :
3- - env :
3+ - id : default
4+ env :
45 - CGO_ENABLED=0
56 goos :
67 - linux
78 - windows
89 - darwin
10+ - id : arm64-aarch64
11+ env :
12+ - CGO_ENABLED=0
13+ goos :
14+ - linux
15+ - darwin
16+ goarch :
17+ - arm64
918
1019checksum :
1120 name_template : " {{ .ProjectName }}_checksums.txt"
1221
1322archives :
1423 # Distribute just the binaries by default
15- - formats : ["binary"]
24+ - id : default
25+ ids : ["default"]
26+ formats : ["binary"]
1627 name_template : >-
1728 {{ .ProjectName }}_
1829 {{- title .Os }}_
1930 {{- if eq .Arch "amd64" }}x86_64
2031 {{- else if eq .Arch "386" }}i386
2132 {{- else }}{{ .Arch }}{{ end }}
33+ - id : aarch64
34+ ids : ["arm64-aarch64"]
35+ formats : ["binary"]
36+ name_template : >-
37+ {{ .ProjectName }}_
38+ {{- title .Os }}_aarch64
2239
2340kos :
24- - repositories : ["abice/go-enum"]
41+ - build : default
42+ repositories : ["abice/go-enum"]
2543 base_image : cgr.dev/chainguard/go # need the go binary for formatting 🔧 purposes 🫤
2644 tags :
2745 - " {{.Version}}"
You can’t perform that action at this time.
0 commit comments