Skip to content

Commit 1640926

Browse files
committed
Counteract CI bitrot
`pip install -U pip` was acting weird on Windows: use `python -m pip install -U pip` instead.
1 parent ddcf47f commit 1640926

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313

1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v4
1717
- name: Setup python
18-
uses: actions/setup-python@v2
18+
uses: actions/setup-python@v4
1919
with:
2020
python-version: ${{ matrix.python }}
2121
cache: pip
@@ -43,9 +43,9 @@ jobs:
4343
extra_name: ', check formatting'
4444
steps:
4545
- name: Checkout
46-
uses: actions/checkout@v2
46+
uses: actions/checkout@v4
4747
- name: Setup python
48-
uses: actions/setup-python@v2
48+
uses: actions/setup-python@v4
4949
if: "!endsWith(matrix.python, '-dev')"
5050
with:
5151
python-version: ${{ matrix.python }}
@@ -73,9 +73,9 @@ jobs:
7373
python: ['3.7', '3.8', '3.9', '3.10']
7474
steps:
7575
- name: Checkout
76-
uses: actions/checkout@v2
76+
uses: actions/checkout@v4
7777
- name: Setup python
78-
uses: actions/setup-python@v2
78+
uses: actions/setup-python@v4
7979
with:
8080
python-version: ${{ matrix.python }}
8181
cache: pip

ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -ex
44

55
YAPF_VERSION=0.20.1
66

7-
pip install -U pip setuptools wheel
7+
python -m pip install -U pip setuptools wheel
88

99
python setup.py sdist --formats=zip
1010
pip install dist/*.zip

0 commit comments

Comments
 (0)