mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 18:51:03 +01:00
256cda05fa
Former-commit-id: d36101dfe296a2b294dd2e9fc49f4e5348bc4205
33 lines
655 B
YAML
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 . |