Skip to content

Commit

Permalink
ci: Add github actions (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
robojones committed Aug 26, 2019
1 parent b91731b commit 0cd7ffc
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .circleci/config.yml

This file was deleted.

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

build:
name: Test
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

- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Run tests
run: go test -v ./...

0 comments on commit 0cd7ffc

Please sign in to comment.