21 lines
533 B
YAML
21 lines
533 B
YAML
name: Core-Pflichttest-Gate
|
|
|
|
on:
|
|
pull_request: {}
|
|
|
|
jobs:
|
|
pflichttest-gate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: "1.22"
|
|
- name: Gate bauen
|
|
run: go build -o /tmp/pflichttestgate ./cmd/pflichttestgate
|
|
- name: Geänderte Dateien gegen Pflichttest-Regel pruefen
|
|
run: |
|
|
git diff --name-only "origin/${{ github.base_ref }}...HEAD" | /tmp/pflichttestgate
|