Skip to content

Commit d820b4e

Browse files
committed
ci: move linter codeql to ubuntu:24.04
- containerize the linter, use 24.04 for the translation checker, as all that needs is python - do not containerize codeql but anyway run it on ubuntu:24.04, as static analysis should not care about the underlying OS and for analysis newer is better. - fixes the branches codeql is called on
1 parent af0362a commit d820b4e

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/codeql-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
jobs:
2222
analyze:
2323
name: Analyze
24-
runs-on: ubuntu-20.04
24+
runs-on: ubuntu-24.04
2525
permissions:
2626
actions: read
2727
contents: read

.github/workflows/linter.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,12 @@ on:
1010
jobs:
1111
translations:
1212
name: Check Translations
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-24.04
14+
container: ubuntu:24.04
1415
steps:
1516
- uses: actions/checkout@v4
1617
- name: Lint translation files
17-
run: python3 contrib/devtools/check-translations.py
18+
run: |
19+
apt-get update
20+
apt-get install -y python3
21+
python3 contrib/devtools/check-translations.py

0 commit comments

Comments
 (0)