Create go.yml

This commit is contained in:
Aaron Bieber 2021-01-20 07:12:16 -07:00 committed by GitHub
parent 75fedffa54
commit 2a4f4bb9fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

30
.github/workflows/go.yml vendored Normal file
View File

@ -0,0 +1,30 @@
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: 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: go build -v ./...