Skip to content

Commit

Permalink
fix: script to check if packages are pinned on the registry
Browse files Browse the repository at this point in the history
  • Loading branch information
angrybayblade committed Aug 1, 2022
1 parent a0a8969 commit 0ee524d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ jobs:
if: github.base_ref == 'main'
steps:
- uses: actions/checkout@master
with:
fetch-depth: 1
- uses: actions/setup-python@v3
with:
python-version: "3.10"
Expand Down
2 changes: 1 addition & 1 deletion scripts/check_ipfs_hashes_pushed.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ def get_file_from_tag(file_path: str, latest_tag: Optional[str] = None) -> str:
errors.append(h)

if errors:
print("The following hashes were not found in IPFS registry: {errors}")
print(f"The following hashes were not found in IPFS registry: {errors}")
sys.exit(1)
print("OK")

0 comments on commit 0ee524d

Please sign in to comment.