Skip to content

Commit

Permalink
Merge pull request #10 from uitml/apple-m1
Browse files Browse the repository at this point in the history
Add Apple M1 support
  • Loading branch information
thomasjo authored Apr 26, 2021
2 parents 494f3ce + 93eee66 commit 24f5b3d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.14
go-version: 1.16

- name: Cache Go modules
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.14
go-version: 1.16

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
Expand Down
3 changes: 2 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ builds:
- linux
goarch:
- amd64
- arm64
ldflags:
- -s -w -X github.com/uitml/frink/cmd.version={{ .Version }} -X github.com/uitml/frink/cmd.commit={{ .ShortCommit }} -X github.com/uitml/frink/cmd.date={{ .Date }}

archives:
- format: binary
name_template: '{{ .ProjectName }}-{{ .Os }}'
name_template: '{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}'
replacements:
darwin: macos

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/uitml/frink

go 1.14
go 1.16

require (
github.com/dustin/go-humanize v1.0.0
Expand Down

0 comments on commit 24f5b3d

Please sign in to comment.