| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 180b1ff commit 0e8c23c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -45,7 +45,7 @@ jobs: | |||
| 45 | 45 | - name: Install Cygwin | |
| 46 | 46 | uses: cygwin/cygwin-install-action@v6 | |
| 47 | 47 | with: | |
| 48 | - packages: git python39 python-pip-wheel python-setuptools-wheel python-wheel-wheel | ||
| 48 | + packages: curl git python39 python-setuptools-wheel | ||
| 49 | 49 | add-to-path: false # No need to change $PATH outside the Cygwin environment. | |
| 50 | 50 | ||
| 51 | 51 | - name: Arrange for verbose output | |
@@ -73,12 +73,15 @@ jobs: | |||
| 73 | 73 | ||
| 74 | 74 | - name: Set up virtual environment | |
| 75 | 75 | run: | | |
| 76 | + pip_wheel=/usr/share/python-wheels/pip-26.0.1-py3-none-any.whl | ||
| 77 | + curl -fsSLo "$pip_wheel" https://files.pythonhosted.org/packages/de/f0/c81e05b613866b76d2d1066490adf1a3dbc4ee9d9c839961c3fc8a6997af/pip-26.0.1-py3-none-any.whl | ||
| 78 | + python3.9 -c 'import hashlib, pathlib, sys; assert hashlib.sha256(pathlib.Path(sys.argv[1]).read_bytes()).hexdigest() == sys.argv[2]' "$pip_wheel" bdb1b08f4274833d62c1aa29e20907365a2ceb950410df15fc9521bad440122b | ||
| 76 | 79 | python3.9 -m venv .venv | |
| 77 | 80 | echo 'BASH_ENV=.venv/bin/activate' >>"$GITHUB_ENV" | |
| 78 | 81 | ||
| 79 | 82 | - name: Update PyPA packages | |
| 80 | 83 | run: | | |
| 81 | - python -m pip install -U pip 'setuptools; python_version<"3.12"' wheel | ||
| 84 | + python -m pip install -U 'setuptools; python_version<"3.12"' wheel | ||
| 82 | 85 | ||
| 83 | 86 | - name: Install project and test dependencies | |
| 84 | 87 | run: | | |
| Back | FazBrowse Home | New Git URL |
0 commit comments