Move trusted root loading into function #12
This file contains 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: Conformance Tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
conformance: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 | |
with: | |
go-version-file: go.mod | |
- run: go mod download | |
- run: go build -o conformance cmd/conformance/main.go | |
- uses: sigstore/sigstore-conformance@main # maybe we should pin this in the future, once sigstore-conformace development slows down? | |
with: | |
entrypoint: ${{ github.workspace }}/conformance | |
skip-signing: true | |
supports-trusted-root: true |