Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Haskell provenance #595

Merged
merged 5 commits into from
Jul 20, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 3 additions & 10 deletions internal/builders/generic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ If you use [Haskell](https://www.haskell.org/) (either via
[`cabal`](https://www.haskell.org/cabal/) or
[`stack`](https://docs.haskellstack.org/en/stable/README/)) to generate your
artifacts, you can easily generate SLSA3 provenance by updating your existing
workflow with the 5 steps indicated in the workflow below.
workflow with the 3 steps indicated in the workflow below.
mihaimaruseac marked this conversation as resolved.
Show resolved Hide resolved

```yaml
jobs:
Expand All @@ -673,13 +673,6 @@ jobs:
steps:
[...]
- name: Build using Haskell
# =================================================
#
# Step 2: Add an `id: build` field
# to your build step
#
# =================================================
id: build
run: |
# Your normal build workflow targets here.
cabal build # or stack build
Expand All @@ -692,7 +685,7 @@ jobs:

# ========================================================
#
# Step 3: Add a step to generate the provenance subjects
# Step 2: Add a step to generate the provenance subjects
# as shown below. Update the sha256 sum arguments
# to include all binaries that you generate
# provenance for.
Expand All @@ -707,7 +700,7 @@ jobs:

# =========================================================
#
# Step 4: Call the generic workflow to generate provenance
# Step 3: Call the generic workflow to generate provenance
# by declaring the job below.
#
# =========================================================
Expand Down