Add testing workflow

This commit is contained in:
Melon 2023-04-24 15:41:27 +01:00
parent 9147a813cb
commit 59105d506a
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

15
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,15 @@
on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.20.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 ./...