File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 19
19
uses : actions/checkout@v2
20
20
- name : Build docs
21
21
shell : bash
22
- run : |
22
+ run : python3 check_checksums.py
23
23
sudo apt install virtualenv
24
24
make build
25
25
- name : Deploy
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env python3
2
+
3
+ def main (fname ):
4
+
5
+ with open (fname ) as fid :
6
+ for line in fid :
7
+ if line .startswith (' ' ):
8
+ parts = line .strip ().split (' ' )
9
+ if len (parts [0 ]) != 64 :
10
+ raise ValueError (f'bad checksum in { line } ' )
11
+
12
+ if __name__ == "__main__" :
13
+ main ('pages/checksums.rst' )
14
+
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ pypy3.8-v3.7.9 sha256::
32
32
33
33
pypy3.7-v3.7.9 sha256::
34
34
35
- fc62f2c453fb851d10a1879c6e75c31ffebbf2a44d181bb06fcac4750d023fc pypy3.7-v7.3.9-aarch64.tar.bz2
35
+ dfc62f2c453fb851d10a1879c6e75c31ffebbf2a44d181bb06fcac4750d023fc pypy3.7-v7.3.9-aarch64.tar.bz2
36
36
3398cece0167b81baa219c9cd54a549443d8c0a6b553ec8ec13236281e0d86cd pypy3.7-v7.3.9-linux32.tar.bz2
37
37
c58195124d807ecc527499ee19bc511ed753f4f2e418203ca51bc7e3b124d5d1 pypy3.7-v7.3.9-linux64.tar.bz2
38
38
12d92f578a200d50959e55074b20f29f93c538943e9a6e6522df1a1cc9cef542 pypy3.7-v7.3.9-osx64.tar.bz2
You can’t perform that action at this time.
0 commit comments