diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..c2e7f24 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,22 @@ +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: + go-version: 1.12 + id: go + + - name: Check out code into the Go module directory + uses: actions/checkout@v1 + with: + submodules: true + + - name: Run + run: make ci diff --git a/Makefile b/Makefile index 5fae0f7..f83cf95 100755 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ run-extra: ci: -@cd test-fixture && ln -s ../docker . + make build timeout 10 make run & sleep 11 && timeout 10 make run-extra & cp src/gossa_test.go . && go test