Skip to content

Commit c922d8a

Browse files
committed
ci: move linter codeql to ubuntu:24.04
- do not containerize the linter (for now) as all it does is a python3 check on translations. - 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 c922d8a

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/codeql-analysis.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ on:
66
branches:
77
- '*-dev'
88
- '*-maint'
9+
- 'master'
910
pull_request:
1011
# The branches below must be a subset of the branches above
1112
branches:
12-
- '*-dev'
13+
- '*-dev
14+
- 'master'
1315
paths-ignore:
1416
- '**/*.md'
1517
- '**/*.txt'
@@ -21,7 +23,8 @@ on:
2123
jobs:
2224
analyze:
2325
name: Analyze
24-
runs-on: ubuntu-20.04
26+
runs-on: ubuntu-24.04
27+
container: ubuntu:20.04
2528
permissions:
2629
actions: read
2730
contents: read
@@ -40,7 +43,7 @@ jobs:
4043
- name: Update system
4144
run: |
4245
sudo apt-get update --yes
43-
sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils --yes
46+
sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils python3 --yes
4447
4548
- name: Dependency cache
4649
uses: actions/cache@v4

.github/workflows/linter.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
translations:
1212
name: Check Translations
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-24.04
1414
steps:
1515
- uses: actions/checkout@v4
1616
- name: Lint translation files

0 commit comments

Comments
 (0)