Skip to content

Commit

Permalink
Merge pull request #2 from kommendorkapten/slsa3_builder
Browse files Browse the repository at this point in the history
Updated go slsa version.
  • Loading branch information
kommendorkapten authored Aug 1, 2022
2 parents f6a696a + d1802b3 commit 0a436c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 23 deletions.
26 changes: 3 additions & 23 deletions .github/workflows/slsa-goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,7 @@ jobs:
permissions:
id-token: write
contents: write
uses: slsa-framework/slsa-github-generator/.github/workflows/builder_go_slsa3.yml@v0.0.2
actions: read
uses: slsa-framework/slsa-github-generator/.github/workflows/builder_go_slsa3.yml@v1.2.0
with:
go-version: 1.17

# Upload to GitHub release.
upload:
permissions:
contents: write
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741
with:
name: ${{ needs.build.outputs.go-binary-name }}
- uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741
with:
name: ${{ needs.build.outputs.go-binary-name }}.intoto.jsonl
- name: Release
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
${{ needs.build.outputs.go-binary-name }}
${{ needs.build.outputs.go-binary-name }}.intoto.jsonl
go-version: 1.18
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ vet:

fmt:
go fmt ./...

install:
go install ./cmd/coset

0 comments on commit 0a436c5

Please sign in to comment.