Skip to content

Commit

Permalink
chore: Update Go version to 1.22.4 and add support for arm64 in gorel…
Browse files Browse the repository at this point in the history
…easer.yaml
  • Loading branch information
xgd16 committed Jul 2, 2024
1 parent 61df74d commit 122cbd1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21.4'
go-version: '1.22.4'

- name: Build
run: go build -v ./...
Expand Down
6 changes: 4 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ builds:
- linux
- windows
- darwin
goarch:
- amd64
- arm64

archives:
- format: tar.gz
Expand All @@ -21,7 +24,6 @@ archives:
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
# use zip for windows archives
Expand All @@ -45,4 +47,4 @@ changelog:
# The lines beneath this are called `modelines`. See `:help modeline`
# Feel free to remove those if you don't want/use them.
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
# vim: set ts=2 sw=2 tw=0 fo=cnqoj

0 comments on commit 122cbd1

Please sign in to comment.