cicd: wrote a simple CI/CD script to run tests.

This commit is contained in:
Hayden Hargreaves 2026-03-06 18:27:24 -07:00
parent 354fbc4f9b
commit a103af0a83

28
.github/actions/test.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: Run Test Suite
on:
push:
branches:
- "**"
pull_request:
branches:
- "**"
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.25.5" # Pin version
- name: Install dependencies
run: go mod download
- name: Run tests
run: go test -v ./...