Skip to content

Commit

Permalink
Upgrading to 1.16 to support new arm macbooks
Browse files Browse the repository at this point in the history
  • Loading branch information
brittonhayes committed Feb 17, 2021
1 parent b05fef8 commit 00d2479
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 25 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build

on: push

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: build --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }}
17 changes: 0 additions & 17 deletions .github/workflows/notify.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15.x
go-version: 1.16
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: test
on:
push:
branches:
- master
- main
pull_request:
jobs:
Expand All @@ -11,5 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: test
run: go test -v ./...
7 changes: 2 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ before:
- go mod download
- go vet
builds:
- env:
- CGO_ENABLED=1
goos:
- goos:
- linux
- windows
- darwin
Expand Down Expand Up @@ -54,8 +52,7 @@ scoop:
license: MIT

brews:
-
# Name template of the recipe
- # Name template of the recipe
# Default to project name
name: pillager

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/brittonhayes/pillager

go 1.15
go 1.16

require (
github.com/BurntSushi/toml v0.3.1
Expand Down

0 comments on commit 00d2479

Please sign in to comment.