Skip to content

Commit

Permalink
Add Github Actions Test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHines committed Feb 27, 2021
1 parent e81e8f5 commit 3a47b37
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
push:
pull_request:
types: [synchronize]
schedule:
- cron: "0 0 1,11,21 * *"
name: Test
jobs:
test:
strategy:
fail-fast: false
matrix:
go-version:
- 1.13.x
- 1.14.x
- 1.15.x
- 1.16.x
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: go test ./...

0 comments on commit 3a47b37

Please sign in to comment.