Skip to content

Commit

Permalink
Add workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Nov 24, 2019
1 parent 9281a1c commit f276b50
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: build
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v1
with:
go-version: 1.13.x
- uses: actions/checkout@v1
- run: make build
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: release
on:
release:
types:
- published
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v1
with:
go-version: 1.13.x
- uses: actions/checkout@master
- run: make release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#- uses: goreleaser/goreleaser-action@v1
#env:
#GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
#with:
#args: release --rm-dist

0 comments on commit f276b50

Please sign in to comment.