Skip to content

Commit 74cc0c4

Browse files
committed
Validate checksum of file from wget
1 parent 755544a commit 74cc0c4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/actions/setup/action.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ runs:
77
- uses: actions/setup-node@v3
88
with:
99
node-version: '14.x'
10-
10+
1111
- name: Update packages
1212
shell: bash
1313
run: |
@@ -17,6 +17,7 @@ runs:
1717
shell: bash
1818
run: |
1919
DEBIAN_FRONTEND=noninteractive wget https://www.python.org/ftp/python/2.2/Python-2.2.tgz
20+
echo "0b9e29c77d405eb7ce7a263c1ce2fc8c006cd9391790120ebfb83310a83f1fd3 Python-2.2.tgz" | sha256sum -c -
2021
DEBIAN_FRONTEND=noninteractive sudo tar xzf Python-2.2.tgz
2122
DEBIAN_FRONTEND=noninteractive cd Python-2.2
2223
DEBIAN_FRONTEND=noninteractive sudo ./configure --enable-optimizations

0 commit comments

Comments
 (0)