fix(supply-chain): verify CI and production inputs
Pin external actions, images, toolchains, native archives, and tvOS engine artifacts; enforce fail-closed CI checks and keep website privacy disclosures aligned with shipped behavior.
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
cd "$ROOT_DIR/server"
|
||||
|
||||
go mod download
|
||||
go mod verify
|
||||
git diff --exit-code -- go.mod go.sum
|
||||
go vet -mod=readonly ./...
|
||||
go test -mod=readonly -race -count=1 ./...
|
||||
go install golang.org/x/vuln/cmd/govulncheck@v1.1.4
|
||||
govulncheck ./...
|
||||
Reference in New Issue
Block a user