Skip to content

Commit

Permalink
CI/GHA: switch to ubuntu-24.04
Browse files Browse the repository at this point in the history
The only change needed is a flag for pip install, as in Ubuntu-24.04
it is patched to error out saying to use apt.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
  • Loading branch information
kolyshkin committed Aug 14, 2024
1 parent fc4f56a commit f8911f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:

lint:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: install deps
Expand All @@ -24,11 +24,11 @@ jobs:
version: v1.60

codespell:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: install deps
# Version of codespell bundled with Ubuntu is way old, so use pip.
run: pip install codespell
run: pip install --break-system-packages codespell
- name: run codespell
run: codespell

0 comments on commit f8911f6

Please sign in to comment.