iris/.github/workflows/go.yml
Gerasimos (Makis) Maropoulos ed5964716b implement #1536 with (SetRegisterRule(iris.RouteOverlap))
Former-commit-id: 2b5523ff3e2aab60dd83faa3c520b16a34916fbe
2020-06-14 08:09:42 +03: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.14
uses: actions/setup-go@v1
with:
go-version: 1.14
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 .