summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/test.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..f06242e
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -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 ./... \ No newline at end of file