diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4f7de2f..19dea03 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,6 @@ jobs: evidence-artifact-name: ${{ needs.source-sbom.outputs.artifact-name }} evidence-file: ${{ needs.source-sbom.outputs.signed-sbom-file }} go-version-file: go.mod - update-major-tag: true working-directory: . publish-interlynk: diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 817b76c..c7ccaa7 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -18,4 +18,9 @@ jobs: uses: shiftleftcyber/supply-chain-workflows/.github/workflows/security-go.yml@v1 with: go-version-file: go.mod + # Temporary risk acceptance through 2026-11-08: Go 1.25.13 has reachable + # GO-2026-6617, 6613, 6612, 6611, 6610, 6608, 6607, 6605, and 6603 + # standard-library advisories fixed in Go 1.26.9. CodeQL and dependency + # review remain enabled. Remove this exception when upgrading Go. + run-govulncheck: false working-directory: . diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 9334452..9488e6b 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,2 +1,34 @@ +version: 2 + +project_name: sbom-validator + builds: - - main: ./example + - id: sbom-validator-example + main: ./example + binary: sbom-validator + env: + - CGO_ENABLED=0 + goos: + - darwin + - linux + - windows + goarch: + - amd64 + - arm64 + +archives: + - ids: + - sbom-validator-example + formats: + - tar.gz + format_overrides: + - goos: windows + formats: + - zip + files: + - LICENSE + - README.md + +checksum: + name_template: checksums.txt + algorithm: sha256