Files
selfpost/.github/workflows/test.yml
T
mix 4adbde1948 ci: run go vet and go test on push/PR
Tests (including the rate-limit suite) previously only ran manually
on the build server; now every push to main and every PR triggers
them via GitHub Actions.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-15 23:26:42 +03:00

24 lines
340 B
YAML

name: test
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.26"
cache: true
- name: Vet
run: go vet ./...
- name: Test
run: go test ./...