Skip to content

Commit

Permalink
Merge b23a8f8 into a3cfef3
Browse files Browse the repository at this point in the history
  • Loading branch information
pbitty authored May 20, 2021
2 parents a3cfef3 + b23a8f8 commit 4779a3a
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\/pull\//}

- 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 4779a3a

Please sign in to comment.