mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-10 19:16:34 +03:00
chore: upgrade Github action versions
This commit is contained in:
parent
963fb1190b
commit
af3ee06ec0
14
.github/workflows/packages.yml
vendored
14
.github/workflows/packages.yml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repos
|
- name: Checkout repos
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build sdist
|
- name: Build sdist
|
||||||
run: ./scripts/build/build_sdist.sh
|
run: ./scripts/build/build_sdist.sh
|
||||||
|
@ -24,7 +24,7 @@ jobs:
|
||||||
PACKAGE_NAME: ${{ matrix.package_name }}
|
PACKAGE_NAME: ${{ matrix.package_name }}
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: packages_sdist
|
name: packages_sdist
|
||||||
path: |
|
path: |
|
||||||
|
@ -69,7 +69,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repos
|
- name: Checkout repos
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up QEMU for multi-arch build
|
- name: Set up QEMU for multi-arch build
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v1
|
||||||
|
@ -91,7 +91,7 @@ jobs:
|
||||||
./scripts/build/build_${{ matrix.tag }}.sh
|
./scripts/build/build_${{ matrix.tag }}.sh
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: packages_${{ matrix.tag }}_${{ matrix.arch }}
|
name: packages_${{ matrix.tag }}_${{ matrix.arch }}
|
||||||
path: |
|
path: |
|
||||||
|
@ -121,10 +121,10 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repos
|
- name: Checkout repos
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
@ -136,7 +136,7 @@ jobs:
|
||||||
PSYCOPG2_TEST_FAST: 1
|
PSYCOPG2_TEST_FAST: 1
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: packages_macos
|
name: packages_macos
|
||||||
path: |
|
path: |
|
||||||
|
|
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
|
@ -49,7 +49,7 @@ jobs:
|
||||||
--health-retries 5
|
--health-retries 5
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
# Can enable to test an unreleased libpq version.
|
# Can enable to test an unreleased libpq version.
|
||||||
- name: install libpq 16
|
- name: install libpq 16
|
||||||
|
@ -66,7 +66,7 @@ jobs:
|
||||||
|
|
||||||
- name: Install tox
|
- name: Install tox
|
||||||
run: pip install tox
|
run: pip install tox
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python }}
|
python-version: ${{ matrix.python }}
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
|
Loading…
Reference in New Issue
Block a user