1
0
Fork 0
mirror of https://github.com/ultrajson/ultrajson.git synced 2024-05-07 09:46:19 +02:00

Update github-actions

This commit is contained in:
renovate[bot] 2024-01-01 00:47:15 +00:00 committed by Brénainn Woodsend
parent 381f248e03
commit 86de8d31a5
No known key found for this signature in database
GPG Key ID: 368297D9ACFCFA7D
4 changed files with 13 additions and 12 deletions

View File

@ -24,7 +24,7 @@ jobs:
- run: git fetch --prune --unshallow
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip

View File

@ -29,7 +29,7 @@ jobs:
- run: git fetch --prune --unshallow
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.x"
cache: pip
@ -53,9 +53,9 @@ jobs:
CIBW_TEST_COMMAND: pytest {package}/tests
- name: Upload as build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ matrix.os }}
path: dist/*.whl
build-QEMU-emulated-wheels:
@ -77,7 +77,7 @@ jobs:
- run: git fetch --prune --unshallow
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.x"
cache: pip
@ -110,9 +110,9 @@ jobs:
CIBW_TEST_COMMAND: pytest {package}/tests
- name: Upload as build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-qemu-${{ matrix.python-version }}
path: dist/*.whl
build-sdist-and-upload:
@ -128,7 +128,7 @@ jobs:
git fetch --prune --unshallow
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.x"
cache: pip
@ -140,9 +140,10 @@ jobs:
python -m pip install -U build twine
- name: Download wheels from build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: wheels
pattern: wheels-*
merge-multiple: true
path: dist-wheels/
- name: Build package

View File

@ -8,7 +8,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- uses: pre-commit/action@v3.0.0

View File

@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true