Skip to content

Commit 675f82c

Browse files
committed
ci: add proof-hash workflow to generate and upload SHA256SUMS
1 parent 7a84675 commit 675f82c

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/proof-hash.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Proof Bundle Hashes
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'proofs/**'
7+
- 'tools/hash_bundle.py'
8+
9+
jobs:
10+
hash:
11+
name: Generate and Upload SHA256SUMS
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 1
18+
19+
- name: Set up Python
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: '3.x'
23+
24+
- name: Run proof hasher
25+
run: |
26+
python tools/hash_bundle.py
27+
28+
- name: Upload SHA256SUMS.txt artifacts
29+
uses: actions/upload-artifact@v4
30+
with:
31+
name: proof-hashes
32+
path: |
33+
proofs/**/SHA256SUMS.txt
34+
if-no-files-found: ignore

0 commit comments

Comments
 (0)