v0.1.0 #2
Workflow file for this run
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
# This workflow compiles the Go project using a SLSA3 compliant builder. | |
# This workflow will generate a so-called "provenance" file describing the steps | |
# that were performed to generate the final binary. | |
# See https://github.com/slsa-framework/slsa-github-generator. | |
# The provenance file can be verified using https://github.com/slsa-framework/slsa-verifier. | |
# For more information about SLSA and how it improves the supply-chain, visit slsa.dev. | |
name: SLSA Go releaser | |
on: | |
workflow_dispatch: | |
release: | |
types: [created] | |
permissions: read-all | |
jobs: | |
build: | |
permissions: | |
id-token: write # To sign. | |
contents: write # To upload release assets. | |
actions: read # To read workflow path. | |
strategy: | |
matrix: | |
binary: | |
- linux-amd64 | |
- windows-amd64 | |
- darwin-amd64 | |
- darwin-arm64 | |
uses: slsa-framework/slsa-github-generator/.github/workflows/builder_go_slsa3.yml@v1.9.0 | |
with: | |
go-version: 1.21 | |
config-file: .slsa-goreleaser/${{matrix.binary}}.yml | |