Swap to running SLSA validation on macos since we need codesign_allocate to validate signatures on macos

This commit is contained in:
David Dworken 2023-11-05 12:37:49 -08:00
parent e00bc22dfd
commit 6cc7057d1e
No known key found for this signature in database

View File

@ -170,7 +170,7 @@ jobs:
validate:
permissions:
contents: read
runs-on: ubuntu-latest
runs-on: macos-latest
needs:
- build-linux-amd64
- build-darwin-amd64
@ -220,5 +220,4 @@ jobs:
./hishtory validate-binary hishtory-linux-arm64 hishtory-linux-arm64.intoto.jsonl
./hishtory validate-binary hishtory-darwin-amd64 hishtory-darwin-amd64.intoto.jsonl --is_macos=True --macos_unsigned_binary=hishtory-darwin-amd64-unsigned
./hishtory validate-binary hishtory-darwin-arm64 hishtory-darwin-arm64.intoto.jsonl --is_macos=True --macos_unsigned_binary=hishtory-darwin-arm64-unsigned
# TODO: Validate other binaries here
# TODO: Validate other binaries here