feat: Attested Signatures + UCAN Principal Clarification #15
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: Codegen | |
| on: | |
| pull_request: | |
| push: | |
| branches: ["main"] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'push' && github.sha || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| codegen: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| # Compile the generators under the `codegen` build tag. The reusable | |
| # go-check/go-test workflows build without this tag, so a generator that | |
| # no longer compiles would otherwise slip through CI. | |
| - run: make codegen-build | |
| # Run `go generate` and fail if the committed generated files are stale. | |
| - run: make gen-check |