iris/.github/workflows/go.yml
Gerasimos (Makis) Maropoulos 256cda05fa update faq, contributing and go workflow
Former-commit-id: d36101dfe296a2b294dd2e9fc49f4e5348bc4205
2019-11-20 02:51:16 +02:00

33 lines
655 B
YAML

name: Go
on: [push]
env:
GOPROXY: "https://goproxy.io"
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/cache@v1
id: cache
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- 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@master
# - name: Get dependencies
# run: |
# go get -v -t -d ./...
- name: Build
run: go build -v .