Skip to content

Commit

Permalink
Auto run tests using GitHub actions when pushing or creating pull req…
Browse files Browse the repository at this point in the history
…uests.
  • Loading branch information
keuin committed Sep 16, 2022
1 parent e36b957 commit e90c617
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
on: [ push, pull_request ]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [ 1.18.x, 1.19.x ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v3
- run: go test -v ./...

0 comments on commit e90c617

Please sign in to comment.