Skip to content

Commit 971b0bd

Browse files
authored
Update upgrade-dependencies.yml
1 parent a4140a6 commit 971b0bd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/upgrade-dependencies.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ jobs:
1616
os: ['ubuntu-latest']
1717
python-version: ["3.9", "3.10", "3.11"]
1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020
with:
2121
fetch-depth: 0
22-
- uses: actions/setup-python@v4
22+
- uses: actions/setup-python@v5
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525
cache: 'pip'
2626
- name: Upgrade Python dependencies
2727
shell: bash
2828
run: |
29-
python${{ matrix.python-version }} -m pip install --upgrade pip pip-tools
29+
python${{ matrix.python-version }} -m pip install --upgrade pip pip-tools wheel cython setuptools
3030
python${{ matrix.python-version }} -m pip install `grep numpy== requirements/${{ matrix.os }}_py${{ matrix.python-version }}_extras.txt`
3131
python${{ matrix.python-version }} -m piptools compile -q --upgrade --resolver=backtracking -o requirements/${{ matrix.os }}_py${{ matrix.python-version }}.txt pyproject.toml
3232
python${{ matrix.python-version }} -m piptools compile -q --upgrade --resolver=backtracking --all-extras -o requirements/${{ matrix.os }}_py${{ matrix.python-version }}_extras.txt pyproject.toml
@@ -43,7 +43,7 @@ jobs:
4343
git config user.name github-actions
4444
git config user.email [email protected]
4545
git add requirements
46-
git commit -m "update dependencies for ${{ matrix.os }}/py${{ matrix.python-version }}"
46+
git commit --allow-empty -m "update dependencies for ${{ matrix.os }}/py${{ matrix.python-version }}"
4747
git push -f origin ${{ github.ref_name }}:auto-dependency-upgrades-${{ matrix.os }}-py${{ matrix.python-version }}
4848
4949
pull_request:
@@ -54,10 +54,10 @@ jobs:
5454
matrix:
5555
python-version: ["3.9"]
5656
steps:
57-
- uses: actions/checkout@v3
57+
- uses: actions/checkout@v4
5858
with:
5959
fetch-depth: 0
60-
- uses: actions/setup-python@v4
60+
- uses: actions/setup-python@v5
6161
with:
6262
python-version: ${{ matrix.python-version }}
6363
- name: detect auto-upgrade-dependency branches

0 commit comments

Comments
 (0)