Skip to content

Commit

Permalink
chore: use GitHub actions for test
Browse files Browse the repository at this point in the history
This is in addition to TravisCI for the purpose of comparing them
  • Loading branch information
blgm committed Feb 17, 2021
1 parent fe1aed4 commit b86ccf0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: test

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
version: [ '1.15', '1.16' ]
name: Go ${{ matrix.version }}
steps:
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.version }}
- uses: actions/checkout@v2
- run: go mod tidy && git diff --exit-code go.mod go.sum
- run: make test

0 comments on commit b86ccf0

Please sign in to comment.