Skip to content

.github/workflows/e2e.go.workflow_dispatch.main.adversarial-builder-binary.slsa3.yml #42

.github/workflows/e2e.go.workflow_dispatch.main.adversarial-builder-binary.slsa3.yml

.github/workflows/e2e.go.workflow_dispatch.main.adversarial-builder-binary.slsa3.yml #42

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.6.0-rc.3
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