Skip to content

Commit

Permalink
fix: use dependabot go version in release
Browse files Browse the repository at this point in the history
  • Loading branch information
hazcod authored Jun 10, 2020
1 parent d1936b9 commit 7d1b89b
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,18 @@ jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
-
uses: actions/checkout@v2
-
name: Unshallow
run: git fetch --prune --unshallow
-
name: Set up Go
-
id: vars
run: |
echo ::set-output name=go_version::$(grep '^FROM go' .github/go/Dockerfile | cut -d ' ' -f 2 | cut -d ':' -f 2)
echo "Using Go version ${{ steps.vars.outputs.go_version }}"
-
name: Setup go
uses: actions/setup-go@v2
with:
go-version: ${{ steps.vars.outputs.go_version }}
-
name: Release
uses: goreleaser/goreleaser-action@v2
Expand Down

0 comments on commit 7d1b89b

Please sign in to comment.