Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

Commit

Permalink
github: replace setup-go into Go container
Browse files Browse the repository at this point in the history
  • Loading branch information
scbizu committed Mar 19, 2020
1 parent 15809cf commit d0ba424
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,21 @@ jobs:

build:
name: Build & Test
strategy:
matrix:
go: [1.12,1.13,1.14]
runs-on: ubuntu-latest
container: golang:${{ matrix.go }}-stretch
steps:

- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Build
run: go build -v .

- name: Generate TPL
run: |
export PATH=$PATH:$GOPATH/bin
echo $PATH
GO111MODULE=off go get -u github.com/jteeuwen/go-bindata/...
make buildTpl
Expand Down

0 comments on commit d0ba424

Please sign in to comment.