Create go.yml
This commit is contained in:
parent
75fedffa54
commit
2a4f4bb9fe
30
.github/workflows/go.yml
vendored
Normal file
30
.github/workflows/go.yml
vendored
Normal 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 ./...
|
||||
|
Loading…
Reference in New Issue
Block a user