Skip to content

Commit

Permalink
Merge pull request #4 from nabeken/arm64-support
Browse files Browse the repository at this point in the history
actions: built for arm64 as well
  • Loading branch information
nabeken authored Sep 15, 2022
2 parents 4c00d5e + d466dde commit ef24216
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 17 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,14 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.14.x
uses: actions/setup-go@v2
- name: Set up Go 1.18.x
uses: actions/setup-go@v3
with:
go-version: '^1.14.1'
go-version: '1.18.x'
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Get dependencies
run: |
go get -v -t -d ./...
uses: actions/checkout@v3

- name: Build
run: go build -v ./...
Expand Down
14 changes: 5 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Set up Go 1.14.x
uses: actions/setup-go@v2
- name: Set up Go 1.18.x
uses: actions/setup-go@v3
with:
go-version: '^1.14.1'
go-version: '1.18.x'
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v3
with:
version: latest
args: release --rm-dist
Expand Down
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ builds:
- darwin
goarch:
- amd64
- arm64
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit ef24216

Please sign in to comment.