Skip to content

Commit

Permalink
Merge 36fd9ec into a3cfef3
Browse files Browse the repository at this point in the history
  • Loading branch information
pbitty authored May 20, 2021
2 parents a3cfef3 + 36fd9ec commit bdbb568
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Go
name: Test

on:
push:
Expand All @@ -10,6 +10,9 @@ jobs:

build:
runs-on: ubuntu-latest
env:
GOOS: linux
GOARCH: amd64
steps:
- uses: actions/checkout@v2

Expand All @@ -20,3 +23,19 @@ jobs:

- name: Test
run: go test -mod=vendor -v ./...

- name: Build
run: go build -mod=vendor

- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/heads\//}

- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest_${{ steps.get_version.outputs.VERSION }}"
prerelease: true
title: "Development Build"
files: |
affected

0 comments on commit bdbb568

Please sign in to comment.