Skip to content

Commit

Permalink
ci: Set runner version to Ubuntu 22.04 LTS
Browse files Browse the repository at this point in the history
Addresses recent change of 'ubuntu-latest' runner
bumped to Ubuntu 24.04 LTS. More details here:
actions/runner-images#10636

This fixes Python 3.7 issue in linting action.

Signed-off-by: Alex Gavin <[email protected]>
  • Loading branch information
a-gavin committed Dec 26, 2024
1 parent 59edaf0 commit c4ea8e9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ on: [push, pull_request]
# Lint code using flake8 and run unit tests using pytest
jobs:
lint:
runs-on: ubuntu-latest
# Tie runner to Ubuntu 22.04 LTS, as it still supports Python 3.7
# Minimum Python version on Ubuntu 24.04 LTS is Python 3.9.
runs-on: ubuntu-22.04
name: Run Linter
steps:
- name: Check out source repository
Expand All @@ -17,4 +19,4 @@ jobs:
- name: flake8 Lint
uses: py-actions/flake8@v2
#with:
# plugins: "flake8-bugbear"
# plugins: "flake8-bugbear"

0 comments on commit c4ea8e9

Please sign in to comment.