Skip to content

Commit

Permalink
Merge pull request #680 from faddat/run-test-in-ci
Browse files Browse the repository at this point in the history
run tests in github actions
  • Loading branch information
cyborgshead authored Aug 28, 2023
2 parents fea852c + c1f8c37 commit d2de6cc
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# https://github.com/mvdan/github-actions-golang
on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.19.x, 1.20.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- run: go test ./...

0 comments on commit d2de6cc

Please sign in to comment.