Repository navigation
feat: reserve entry signature for producer attestation #10
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - name: Lint proto | |
| run: make lint | |
| - name: Check generated code is current | |
| run: | | |
| make generate | |
| git diff --exit-code | |
| - name: Breaking change check | |
| if: github.event_name == 'pull_request' | |
| # Skipped while the base branch has no protos (repo bootstrap); | |
| # self-arming once the first proto lands on the base. | |
| run: | | |
| if git ls-tree -r "refs/remotes/origin/${{ github.base_ref }}" --name-only | grep -q '\.proto$'; then | |
| go tool -modfile=tools/go.mod buf breaking --against ".git#ref=refs/remotes/origin/${{ github.base_ref }}" | |
| else | |
| echo "base branch has no .proto files yet; skipping breaking check" | |
| fi | |
| - name: Test | |
| run: make test | |
| - name: govulncheck | |
| run: make vuln |