Update dependencies #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: pull_request | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- | |
uses: actions/checkout@v2 | |
- | |
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: Download Go modules | |
run: go mod download | |
- | |
name: Go build | |
run: go build -o /dev/null ./... |