Add GHA to check tests

This commit is contained in:
2022-12-08 21:26:16 +01:00
parent 9808319143
commit 51cad257cc
2 changed files with 17 additions and 2 deletions

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

@@ -0,0 +1,14 @@
name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.19.x
- name: Checkout code
uses: actions/checkout@v2
- name: Run tests
run: go test ./...