Skip to content

Commit

Permalink
Merge branch 'master' of github.com:jsnjack/wakeci
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnjack committed Aug 12, 2019
2 parents 2215c1d + 9a0847d commit ae36d5b
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/main.workflow

This file was deleted.

37 changes: 37 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Go
on: [push]
jobs:

build:
name: Build
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.12
uses: actions/setup-go@v1
with:
version: 1.12
id: go

- name: Check out code into the Go module directory
use: actions/checkout@master
path: ${{ go.module-path }}

- name: Get go dependencies
working-directory: ${{ go.module-path }}/src/backend
run: |
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
go get github.com/GeertJohan/go.rice/rice
dep ensure
- name: Build frontend
working-directory: ${{ go.module-path }}/src/frontend
run: |
npm install
npm run build
- name: Build application
working-directory: ${{ go.module-path }}/src/backend
run: |
rice embed-go
go build

0 comments on commit ae36d5b

Please sign in to comment.