Skip to content

Commit

Permalink
Fix CI breakage on ubuntu-latest (#225)
Browse files Browse the repository at this point in the history
For now, pin our CI jobs to ubuntu-22.04. This is the final GitHub runner ubuntu image with Python 3.8 (our current supported target, matching AmigaOS on the Brain) baked in.

Part of SWE-531.
  • Loading branch information
mihelich authored Dec 17, 2024
1 parent a4de093 commit d46798a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest] # ubuntu only for now macos-latest, windows-latest]
python-version: [3.8] # ubuntu 20.04, python 3.8 is our current supported target
# Ubuntu with python 3.8 is our current supported target, matching
# AmigaOS on the Brain.
os: [ubuntu-22.04]
python-version: [3.8]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
# TODO: fix mypy for protobufs
# mypy:
# runs-on: [ubuntu-latest]
# runs-on: [ubuntu-22.04]
# steps:
# - uses: actions/checkout@v3
# - name: Install dependencies
Expand All @@ -20,7 +20,7 @@ jobs:
# run: mypy

pre-commit-check:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
pypi:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v2
Expand Down

0 comments on commit d46798a

Please sign in to comment.