Skip to content

Commit

Permalink
Run tests in GitHub Actions (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattayes authored Dec 8, 2023
1 parent 4a881f6 commit 8d7d896
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on: push
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.x.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
name: Go ${{ matrix.go-version }} (${{ matrix.platform }})
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Test
run: go test -race ./...

0 comments on commit 8d7d896

Please sign in to comment.