Add CI/CD workflow for testing on main branch

This commit is contained in:
Your Name
2026-05-18 19:45:59 +02:00
parent 47a9719eeb
commit 6864129c74
+18
View File
@@ -0,0 +1,18 @@
name: test
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Install dependencies
run: go mod download
- name: Run tests
run: go test ./...