ci: add test workflow for Forgejo

This commit is contained in:
Graham McIntire 2026-02-15 08:57:50 -06:00
parent c1b24fe38b
commit ca36ab0c38

View file

@ -0,0 +1,25 @@
name: Test
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run tests
run: go test -race -v ./...
- name: Vet
run: go vet ./...