Skip to content

Commit 0a436c5

Browse files
Merge pull request #2 from kommendorkapten/slsa3_builder
Updated go slsa version.
2 parents f6a696a + d1802b3 commit 0a436c5

File tree

2 files changed

+6
-23
lines changed

2 files changed

+6
-23
lines changed

.github/workflows/slsa-goreleaser.yml

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,7 @@ jobs:
1313
permissions:
1414
id-token: write
1515
contents: write
16-
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected]
16+
actions: read
17+
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected]
1718
with:
18-
go-version: 1.17
19-
20-
# Upload to GitHub release.
21-
upload:
22-
permissions:
23-
contents: write
24-
runs-on: ubuntu-latest
25-
needs: build
26-
steps:
27-
- uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741
28-
with:
29-
name: ${{ needs.build.outputs.go-binary-name }}
30-
- uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741
31-
with:
32-
name: ${{ needs.build.outputs.go-binary-name }}.intoto.jsonl
33-
- name: Release
34-
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
35-
if: startsWith(github.ref, 'refs/tags/')
36-
with:
37-
files: |
38-
${{ needs.build.outputs.go-binary-name }}
39-
${{ needs.build.outputs.go-binary-name }}.intoto.jsonl
19+
go-version: 1.18

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ vet:
1212

1313
fmt:
1414
go fmt ./...
15+
16+
install:
17+
go install ./cmd/coset

0 commit comments

Comments
 (0)