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
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:
2
.github/workflows/slsa-go-releaser.yml
vendored
2
.github/workflows/slsa-go-releaser.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
|||||||
actions: read
|
actions: read
|
||||||
uses: slsa-framework/slsa-github-generator/.github/workflows/builder_go_slsa3.yml@v2.1.0
|
uses: slsa-framework/slsa-github-generator/.github/workflows/builder_go_slsa3.yml@v2.1.0
|
||||||
with:
|
with:
|
||||||
go-version: "1.24"
|
go-version-file: go.mod
|
||||||
config-file: .slsa-goreleaser.yml
|
config-file: .slsa-goreleaser.yml
|
||||||
upload-assets: true
|
upload-assets: true
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,8 @@ builds:
|
|||||||
- -trimpath
|
- -trimpath
|
||||||
ldflags:
|
ldflags:
|
||||||
- -s -w
|
- -s -w
|
||||||
|
env:
|
||||||
|
- CGO_ENABLED=0
|
||||||
goos:
|
goos:
|
||||||
- linux
|
- linux
|
||||||
- darwin
|
- darwin
|
||||||
|
|||||||
Reference in New Issue
Block a user