Skip to content

Commit

Permalink
Updated to go 1.16 and added arm support.
Browse files Browse the repository at this point in the history
  • Loading branch information
kristofferahl committed Aug 23, 2021
1 parent 40bf59d commit 57f1748
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 33 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,23 @@ name: CI

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16

- name: Build
run: ./scripts/build
- name: Build
run: ./scripts/build

- name: Test
run: ./scripts/test -v
- name: Test
run: ./scripts/test -v
42 changes: 23 additions & 19 deletions cmd/centry/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,34 @@ before:
- go mod tidy
- go mod download
builds:
- id: centry
binary: "{{ .ProjectName }}_{{ .Tag }}"
env:
- CGO_ENABLED=0
- id: centry
binary: "{{ .ProjectName }}_{{ .Tag }}"
goos:
- darwin
- linux
goarch:
- "386"
- "amd64"
- "arm64"
env:
- CGO_ENABLED=0
archives:
- id: centry
builds:
- centry
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- id: centry
builds:
- centry
replacements:
darwin: Darwin
linux: Linux
checksum:
name_template: 'checksums.txt'
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^.github:'
- '^docs:'
- '^examples:'
- '^scripts:'
- '^test:'
- "^.github:"
- "^docs:"
- "^examples:"
- "^scripts:"
- "^test:"
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/kristofferahl/go-centry

go 1.13
go 1.16

require (
bou.ke/monkey v1.0.2
Expand Down
2 changes: 1 addition & 1 deletion internal/pkg/config/schema.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 57f1748

Please sign in to comment.