.github/workflows/e2e.go.workflow_dispatch.main.adversarial-builder-binary.slsa3.yml #48
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
on: | |
# Only triggered manually for pre-release. | |
workflow_dispatch: | |
permissions: read-all | |
jobs: | |
build: | |
permissions: | |
id-token: write # For signing. | |
contents: write # For asset uploads. | |
actions: read # For the entrypoint. | |
# Update the reference in this line with the builder's version to test. | |
uses: slsa-framework/slsa-github-generator/.github/workflows/builder_go_slsa3.yml@v1.7.0-rc.1 | |
with: | |
go-version: 1.18 | |
config-file: .github/configs-go/config-noldflags.yml | |
if-succeeded: | |
runs-on: ubuntu-latest | |
needs: [build] | |
if: needs.build.result == 'success' | |
steps: | |
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 | |
- run: | | |
set -euo pipefail | |
echo "This test should fail" | |
exit 1 |