Get services from signing config for prober #69
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: Prober Unit Test | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'cmd/prober/**' | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - 'cmd/prober/**' | |
| permissions: | |
| contents: read | |
| jobs: | |
| prober-test: | |
| name: 'Prober test' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| contents: read | |
| steps: | |
| - name: 'Checkout' | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Go | |
| uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 | |
| with: | |
| go-version-file: 'go.mod' | |
| check-latest: true | |
| - name: 'Set up Sigstore Environment' | |
| run: ./actions/setup-sigstore-env/run-containers.sh | |
| - name: Prober test | |
| id: prober-test | |
| run: go run ./cmd/prober --one-time --write-prober --logStyle dev |