From 656c59a0277fa6f6bb13b75d2b5bd3bc3ed243e4 Mon Sep 17 00:00:00 2001 From: Paul-Emmanuel Raoul Date: Wed, 17 Jan 2024 19:58:20 +0100 Subject: [PATCH] Use latest images in CI workflows --- .github/workflows/test_and_publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_and_publish.yml b/.github/workflows/test_and_publish.yml index d603809..4f959de 100644 --- a/.github/workflows/test_and_publish.yml +++ b/.github/workflows/test_and_publish.yml @@ -10,7 +10,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-20.04, macos-10.15] + os: [ubuntu-latest, macos-latest] python-version: - '3.7' - '3.8' @@ -37,7 +37,7 @@ jobs: test-docs: name: Test documentation - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest env: PYTHON_VERSION: 3.8 steps: @@ -61,7 +61,7 @@ jobs: publish-to-test-pypi: name: Publish to TestPyPI environment: staging - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' && github.event_name == 'push' needs: - test-code @@ -92,7 +92,7 @@ jobs: publish-to-pypi: name: Publish to PyPI environment: production - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' && github.event_name == 'push' needs: publish-to-test-pypi