Skip to content

Commit

Permalink
Add github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
aarondl committed Jul 3, 2020
1 parent 0a256b5 commit fddf306
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: test
on: [push, pull_request]

jobs:
test:
name: test
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.14.4]
steps:
- name: checkout
uses: actions/checkout@v2
with: { fetch-depth: 1 }

- name: go
uses: actions/setup-go@v1
with:
go-version: ${{matrix.go}}

- name: deps
run: go mod download
env: { GOPROXY: 'https://proxy.golang.org' }

- name: test
run: >
cd $GITHUB_WORKSPACE
&& go test -v ./...

0 comments on commit fddf306

Please sign in to comment.