From 8947b001426843173c8339c4917905d126d74783 Mon Sep 17 00:00:00 2001 From: Rene Leonhardt <65483435+reneleonhardt@users.noreply.github.com> Date: Sun, 29 Oct 2023 17:09:43 +0100 Subject: [PATCH] chore: update GitHub actions and Postgres image tags --- .github/workflows/docs.yml | 2 +- .github/workflows/packages.yml | 16 ++++++++-------- .github/workflows/tests.yml | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index dbd4eb9e..4d81a358 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Trigger docs build - uses: peter-evans/repository-dispatch@v1 + uses: peter-evans/repository-dispatch@v2 with: repository: psycopg/psycopg-website event-type: psycopg2-commit diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 5018ab78..8a7ce517 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repos - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build sdist run: ./scripts/build/build_sdist.sh @@ -39,7 +39,7 @@ jobs: services: postgresql: - image: postgres:13 + image: postgres:16 env: POSTGRES_PASSWORD: password ports: @@ -69,10 +69,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repos - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU for multi-arch build - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Cache libpq build uses: actions/cache@v3 @@ -81,7 +81,7 @@ jobs: key: libpq-${{ env.LIBPQ_VERSION }}-${{ matrix.platform }}-${{ matrix.arch }} - name: Build wheels - uses: pypa/cibuildwheel@v2.16.1 + uses: pypa/cibuildwheel@v2.16.2 env: CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 CIBW_MANYLINUX_I686_IMAGE: manylinux2014 @@ -114,7 +114,7 @@ jobs: services: postgresql: - image: postgres:14 + image: postgres:16 env: POSTGRES_PASSWORD: password ports: @@ -140,10 +140,10 @@ jobs: steps: - name: Checkout repos - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build wheels - uses: pypa/cibuildwheel@v2.16.1 + uses: pypa/cibuildwheel@v2.16.2 env: CIBW_BUILD: ${{matrix.pyver}}-macosx_${{matrix.arch}} CIBW_ARCHS_MACOS: x86_64 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8a4f5db7..539ce97f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -49,7 +49,7 @@ jobs: --health-retries 5 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Can enable to test an unreleased libpq version. - name: install libpq 16