From 2a4f4bb9fe8a7ecd24ce9a8f9f63ae635fedefd8 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Wed, 20 Jan 2021 07:12:16 -0700 Subject: [PATCH] Create go.yml --- .github/workflows/go.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/go.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..26d5f62 --- /dev/null +++ b/.github/workflows/go.yml @@ -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 ./... +