Skip to content

Commit 64fe9ec

Browse files
committed
Replace ubuntu 20.04 with 22.04
as the 20.04 runner is deprecated and will be removed 2025-04-01.
1 parent 7eabaee commit 64fe9ec

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
os:
20-
- ubuntu-20.04
20+
- ubuntu-22.04
2121
- ubuntu-24.04
2222
- macos-13
2323
- macos-15
@@ -37,9 +37,7 @@ jobs:
3737
if: ${{ runner.os == 'Linux' }}
3838
run: |
3939
sudo apt-get update
40-
sudo apt-get install -y \
41-
expect \
42-
${{ matrix.os != 'ubuntu-20.04' && 'j2cli' || '' }}
40+
sudo apt-get install -y expect j2cli
4341
4442
- name: Install dependencies on macOS
4543
if: ${{ runner.os == 'macOS' }}
@@ -98,7 +96,7 @@ jobs:
9896
done
9997
10098
- name: Set up Python 3.11
101-
if: ${{ runner.os == 'macOS' || matrix.os == 'ubuntu-20.04' }}
99+
if: ${{ runner.os == 'macOS' || matrix.os == 'ubuntu-22.04' }}
102100
uses: actions/setup-python@v5
103101
with:
104102
python-version: 3.11

0 commit comments

Comments
 (0)