Skip to content

Commit

Permalink
Add build and test Action
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins committed May 20, 2020
1 parent e75d65a commit 21ea2da
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build-and-test.yaml
@@ -0,0 +1,20 @@
name: Build and test
on: [push, pull_request]
jobs:
build_and_test:
strategy:
matrix:
go-version: [1.14.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v1
- name: Build
run: go build -v ./...
- name: Test
run: go test -v -p 1 ./...

0 comments on commit 21ea2da

Please sign in to comment.