Add test workflow

This commit is contained in:
Melon 2024-06-09 01:01:58 +01:00
parent ca4e4b7cae
commit 6a34395d8e
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.22.x]
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v4
- run: go build ./cmd/mjwt/
- run: go test ./...