ci: add GitHub Actions workflow for pull requests
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 6s
Mirror to GitHub / mirror (push) Failing after 3s
Tests / test (push) Has been cancelled

Runs tests on PRs and pushes to main.
This commit is contained in:
Franz Kafka 2026-03-22 11:33:22 +00:00
parent a85d8033c7
commit 25757fdb99

25
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,25 @@
name: Tests
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Clean vendor
run: rm -rf vendor
- name: Test
run: go test -race -v ./...