mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-21 12:34:32 +02:00
Add better logging to slsa validation in GH actions
This commit is contained in:
parent
4a0bb18bcc
commit
75ea3534dc
@ -7,6 +7,7 @@ import os
|
||||
ALL_FILES = ['hishtory-linux-amd64', 'hishtory-linux-arm64', 'hishtory-darwin-amd64', 'hishtory-darwin-arm64']
|
||||
|
||||
def validate_slsa(hishtory_binary: str) -> None:
|
||||
print(f"Validating SLSA attestations with {hishtory_binary=}")
|
||||
assert os.path.exists(hishtory_binary)
|
||||
assertPresentAndNotAscii(hishtory_binary)
|
||||
subprocess.check_output(['chmod', "+x", hishtory_binary])
|
||||
|
Loading…
x
Reference in New Issue
Block a user