Add action to run tests

This commit is contained in:
Fred Boniface 2024-04-05 21:47:16 +01:00
parent e0edfd0d50
commit 3587b40703
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
name: Go Test
on:
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21
- name: Run tests
run: go test ./..