kafka/.github/workflows/test.yml
Franz Kafka 25757fdb99
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
ci: add GitHub Actions workflow for pull requests
Runs tests on PRs and pushes to main.
2026-03-22 11:33:22 +00:00

25 lines
411 B
YAML

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 ./...