From 64fe9ec4bba075e6b548a9f419d3199cf80fee3c Mon Sep 17 00:00:00 2001 From: Erik Flodin Date: Tue, 18 Mar 2025 20:05:17 +0100 Subject: [PATCH] Replace ubuntu 20.04 with 22.04 as the 20.04 runner is deprecated and will be removed 2025-04-01. --- .github/workflows/test.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 78ca61e..710b0e8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: os: - - ubuntu-20.04 + - ubuntu-22.04 - ubuntu-24.04 - macos-13 - macos-15 @@ -37,9 +37,7 @@ jobs: if: ${{ runner.os == 'Linux' }} run: | sudo apt-get update - sudo apt-get install -y \ - expect \ - ${{ matrix.os != 'ubuntu-20.04' && 'j2cli' || '' }} + sudo apt-get install -y expect j2cli - name: Install dependencies on macOS if: ${{ runner.os == 'macOS' }} @@ -98,7 +96,7 @@ jobs: done - name: Set up Python 3.11 - if: ${{ runner.os == 'macOS' || matrix.os == 'ubuntu-20.04' }} + if: ${{ runner.os == 'macOS' || matrix.os == 'ubuntu-22.04' }} uses: actions/setup-python@v5 with: python-version: 3.11