gavin/.github/workflows/go.yml

34 lines
677 B
YAML

name: Go
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
- name: Set up Node
uses: actions/setup-node@v2.1.4
- name: Install gover and Go 1.16beta1
run: go get suah.dev/gover && gover download 1.16beta1
- name: Clone Organice
run: git clone https://github.com/200ok-ch/organice
- name: Build Organice
run: cd organice && yarn build && yarn cache clean && rm -rf node_modules && rm -rf .git
- name: Build
run: gover 1.16beta1 build -v ./...