1515
1616defaults :
1717run :
18- shell :C:\tools\ cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr "{0}"
18+ shell :C:\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr "{0}"
1919
2020steps :
2121 -name :Force LF line endings
@@ -27,10 +27,11 @@ jobs:
2727with :
2828fetch-depth :0
2929
30- -name :Set up Cygwin
31- uses :egor-tensin/setup- cygwin@v4
30+ -name :Install Cygwin
31+ uses :cygwin/ cygwin-install-action@v5
3232with :
33- packages :python39 python39-pip python39-virtualenv git
33+ packages :python39 python39-pip python39-virtualenv git wget
34+ add-to-path :false # No need to change $PATH outside the Cygwin environment.
3435
3536 -name :Arrange for verbose output
3637run :|
5758
5859 -name :Set up virtualenv
5960run :|
60- python -m venv .venv
61+ python3.9 -m venv --without-pip .venv
6162 echo 'BASH_ENV=.venv/bin/activate' >>"$GITHUB_ENV"
6263
64+ -name :Bootstrap pip in virtualenv
65+ run :|
66+ wget -qO- https://bootstrap.pypa.io/get-pip.py | python
67+
6368 -name :Update PyPA packages
6469run :|
6570 # Get the latest pip, wheel, and prior to Python 3.12, setuptools.