Revert "Add SLSA attestation validation with latest released hishtory binary too" because the released binary doesn't support the validate-binary subcommand yet

This reverts commit 259f6b7858.
This commit is contained in:
David Dworken 2023-11-05 18:05:20 -08:00
parent 259f6b7858
commit 19ee1816be
2 changed files with 2 additions and 4 deletions

View File

@ -214,5 +214,5 @@ jobs:
- name: Validate Release - name: Validate Release
run: | run: |
go build; ./hishtory install go build; ./hishtory install
curl https://hishtory.dev/install.py | python3 -
python3 scripts/actions-validate.py python3 scripts/actions-validate.py
# TODO: Run validation using hishtory built at HEAD too

View File

@ -53,10 +53,8 @@ def main() -> None:
for filename in ALL_FILES: for filename in ALL_FILES:
if "darwin" in filename: if "darwin" in filename:
validate_macos_signature(filename) validate_macos_signature(filename)
print("Starting validation of SLSA attestations with hishtory built at HEAD") print("Starting validation of SLSA attestations")
validate_slsa("./hishtory") validate_slsa("./hishtory")
print("Starting validation of SLSA attestations with latest released hishtory")
validate_slsa(os.path.expanduser("~/.hishtory/hishtory"))
if __name__ == '__main__': if __name__ == '__main__':
main() main()