Skip to content

Commit e92285c

Browse files
authored
CI: Use ubuntu-22.04 for GitHub Actions (#198)
Ubuntu 20.04 has been removed from GitHub Actions. The combination of Ubuntu 22.04 and Python 3.6 is no longer available.
1 parent 6c363b1 commit e92285c

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
matrix:
2323
os:
2424
- ubuntu-latest
25-
- ubuntu-20.04
25+
- ubuntu-22.04
2626
- macos-latest
2727
ruby:
2828
- "3.4"
@@ -39,27 +39,26 @@ jobs:
3939
- ""
4040
include:
4141
# Python 3.11 with the latest Ruby
42-
- { os: ubuntu-20.04 , ruby: 3.3 , python: "3.11" , python_architecture: x64 , venv: "" }
42+
- { os: ubuntu-22.04 , ruby: 3.3 , python: "3.11" , python_architecture: x64 , venv: "" }
4343

4444
# Old ruby and the latest Python 3
45-
- { os: ubuntu-20.04 , ruby: 2.6 , python: "3.x" , python_architecture: x64 , venv: "" }
46-
- { os: ubuntu-20.04 , ruby: 2.5 , python: "3.x" , python_architecture: x64 , venv: "" }
47-
- { os: ubuntu-20.04 , ruby: 2.4 , python: "3.x" , python_architecture: x64 , venv: "" }
45+
- { os: ubuntu-22.04 , ruby: 2.6 , python: "3.x" , python_architecture: x64 , venv: "" }
46+
- { os: ubuntu-22.04 , ruby: 2.5 , python: "3.x" , python_architecture: x64 , venv: "" }
47+
- { os: ubuntu-22.04 , ruby: 2.4 , python: "3.x" , python_architecture: x64 , venv: "" }
4848

4949
# Ruby 2.7 with Each Python 3.x
50-
- { os: ubuntu-20.04 , ruby: 2.7 , python: "3.12" , python_architecture: x64 , venv: "" }
51-
- { os: ubuntu-20.04 , ruby: 2.7 , python: "3.11" , python_architecture: x64 , venv: "" }
52-
- { os: ubuntu-20.04 , ruby: 2.7 , python: "3.10" , python_architecture: x64 , venv: "" }
53-
- { os: ubuntu-20.04 , ruby: 2.7 , python: "3.9" , python_architecture: x64 , venv: "" }
54-
- { os: ubuntu-20.04 , ruby: 2.7 , python: "3.8" , python_architecture: x64 , venv: "" }
55-
- { os: ubuntu-20.04 , ruby: 2.7 , python: "3.7" , python_architecture: x64 , venv: "" }
56-
- { os: ubuntu-20.04 , ruby: 2.7 , python: "3.6" , python_architecture: x64 , venv: "" }
50+
- { os: ubuntu-22.04 , ruby: 2.7 , python: "3.12" , python_architecture: x64 , venv: "" }
51+
- { os: ubuntu-22.04 , ruby: 2.7 , python: "3.11" , python_architecture: x64 , venv: "" }
52+
- { os: ubuntu-22.04 , ruby: 2.7 , python: "3.10" , python_architecture: x64 , venv: "" }
53+
- { os: ubuntu-22.04 , ruby: 2.7 , python: "3.9" , python_architecture: x64 , venv: "" }
54+
- { os: ubuntu-22.04 , ruby: 2.7 , python: "3.8" , python_architecture: x64 , venv: "" }
55+
- { os: ubuntu-22.04 , ruby: 2.7 , python: "3.7" , python_architecture: x64 , venv: "" }
5756

5857
# Ruby-debug with the latest Python 3
59-
- { os: ubuntu-20.04 , ruby: debug , python: "3.x" , python_architecture: x64 , venv: "" }
58+
- { os: ubuntu-22.04 , ruby: debug , python: "3.x" , python_architecture: x64 , venv: "" }
6059

6160
# The latest stable Ruby with the latest Python 3 with venv
62-
- { os: ubuntu-20.04 , ruby: "3.3" , python: "3.x" , python_architecture: x64 , venv: "venv:" }
61+
- { os: ubuntu-22.04 , ruby: "3.3" , python: "3.x" , python_architecture: x64 , venv: "venv:" }
6362

6463
# macOS with venv
6564
- { os: macos-latest , ruby: "3.3" , python: "3.x" , python_architecture: x64 , venv: "venv:" }
@@ -110,7 +109,7 @@ jobs:
110109
fail-fast: false
111110
matrix:
112111
os:
113-
- ubuntu-20.04
112+
- ubuntu-22.04
114113
#- macos-latest
115114
ruby:
116115
- "3.1"

0 commit comments

Comments
 (0)