Uses reusable workflows from core/go-devops for Go testing (with race detector and coverage) and security scanning (govulncheck, gitleaks, trivy). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
211 B
YAML
14 lines
211 B
YAML
name: Test
|
|
|
|
on:
|
|
push:
|
|
branches: [main, dev]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test:
|
|
uses: core/go-devops/.forgejo/workflows/go-test.yml@main
|
|
with:
|
|
race: true
|
|
coverage: true
|