Configure SLSA Go releaser to set CGO_ENABLED=0 and update Go version handling in workflow
Some checks failed
Go Build Multi-Platform / build (amd64, windows) (push) Failing after 2s
Go Build Multi-Platform / build (arm, freebsd) (push) Failing after 2s
Go Build Multi-Platform / build (arm, linux) (push) Failing after 3s
Go Build Multi-Platform / build (arm, windows) (push) Failing after 1s
Go Build Multi-Platform / build (arm64, darwin) (push) Failing after 4s
Go Build Multi-Platform / build (arm64, freebsd) (push) Failing after 4s
Go Build Multi-Platform / build (amd64, darwin) (push) Failing after 29s
Go Build Multi-Platform / build (arm64, windows) (push) Failing after 4s
Go Build Multi-Platform / build (amd64, freebsd) (push) Failing after 35s
Go Build Multi-Platform / build (amd64, linux) (push) Failing after 34s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Failing after 2s
Run Gosec / tests (push) Failing after 1s
Go Revive Lint / lint (push) Failing after 1s
Go Build Multi-Platform / build (arm64, linux) (push) Failing after 29s
Go Build Multi-Platform / Create Release (push) Has been skipped
CodeQL Advanced / Analyze (go) (autobuild, go) (push) Failing after 5m59s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 6m31s
Go Test Multi-Platform / Test (macos-latest, amd64) (push) Has been cancelled
Go Test Multi-Platform / Test (windows-latest, amd64) (push) Has been cancelled
Go Test Multi-Platform / Test (macos-latest, arm64) (push) Has been cancelled

This commit is contained in:
2025-12-06 13:08:27 -06:00
parent 3b3389118f
commit ae729c2ca7
2 changed files with 3 additions and 1 deletions

View File

@@ -18,7 +18,7 @@ jobs:
actions: read
uses: slsa-framework/slsa-github-generator/.github/workflows/builder_go_slsa3.yml@v2.1.0
with:
go-version: "1.24"
go-version-file: go.mod
config-file: .slsa-goreleaser.yml
upload-assets: true

View File

@@ -8,6 +8,8 @@ builds:
- -trimpath
ldflags:
- -s -w
env:
- CGO_ENABLED=0
goos:
- linux
- darwin