Skip to content

Commit 31cf239

Browse files
authored
Refactor github workflows to use pinned OS version (#389)
1 parent 948674c commit 31cf239

23 files changed

+41
-38
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
cd-job:
1212
name: Continuous Delivery
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-24.04
1414
steps:
1515

1616
- name: SCM Checkout

.github/workflows/check-release-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
check-tag-version-job:
88

99
name: Check Tag Version
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-24.04
1111

1212
steps:
1313
- name: SCM Checkout

.github/workflows/checks.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77

88
Version-Check:
99
name: Version
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-24.04
1111

1212
steps:
1313
- name: SCM Checkout
@@ -24,7 +24,7 @@ jobs:
2424
Documentation:
2525
name: Docs
2626
needs: [ Version-Check ]
27-
runs-on: ubuntu-latest
27+
runs-on: ubuntu-24.04
2828

2929
steps:
3030
- name: SCM Checkout
@@ -39,7 +39,7 @@ jobs:
3939
4040
Changelog:
4141
name: Changelog Update Check
42-
runs-on: ubuntu-latest
42+
runs-on: ubuntu-24.04
4343

4444
steps:
4545
- name: SCM Checkout
@@ -63,7 +63,7 @@ jobs:
6363
Lint:
6464
name: Linting (Python-${{ matrix.python-version }})
6565
needs: [ Version-Check, build-matrix ]
66-
runs-on: ubuntu-latest
66+
runs-on: ubuntu-24.04
6767
strategy:
6868
fail-fast: false
6969
matrix: ${{ fromJson(needs.build-matrix.outputs.matrix) }}
@@ -92,7 +92,7 @@ jobs:
9292
Type-Check:
9393
name: Type Checking (Python-${{ matrix.python-version }})
9494
needs: [ Version-Check, build-matrix ]
95-
runs-on: ubuntu-latest
95+
runs-on: ubuntu-24.04
9696
strategy:
9797
fail-fast: false
9898
matrix: ${{ fromJson(needs.build-matrix.outputs.matrix) }}
@@ -112,7 +112,7 @@ jobs:
112112
Security:
113113
name: Security Checks (Python-${{ matrix.python-version }})
114114
needs: [ Version-Check, build-matrix ]
115-
runs-on: ubuntu-latest
115+
runs-on: ubuntu-24.04
116116
strategy:
117117
fail-fast: false
118118
matrix: ${{ fromJson(needs.build-matrix.outputs.matrix) }}
@@ -139,7 +139,7 @@ jobs:
139139
Vulnerabilities:
140140
name: Check Vulnerabilities (Python-${{ matrix.python-version }})
141141
needs: [ Version-Check, build-matrix ]
142-
runs-on: ubuntu-latest
142+
runs-on: ubuntu-24.04
143143
strategy:
144144
matrix: ${{ fromJson(needs.build-matrix.outputs.matrix) }}
145145

@@ -157,7 +157,7 @@ jobs:
157157

158158
Format:
159159
name: Format Check
160-
runs-on: ubuntu-latest
160+
runs-on: ubuntu-24.04
161161

162162
steps:
163163
- name: SCM Checkout
@@ -174,7 +174,7 @@ jobs:
174174
Tests:
175175
name: Unit-Tests (Python-${{ matrix.python-version }})
176176
needs: [ Documentation, Lint, Type-Check, Security, Format, build-matrix ]
177-
runs-on: ubuntu-latest
177+
runs-on: ubuntu-24.04
178178
env:
179179
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
180180
strategy:

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88

99
documentation-job:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-24.04
1111

1212
steps:
1313
- name: SCM Checkout

.github/workflows/matrix-all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
all_versions:
1212

13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-24.04
1414

1515
steps:
1616
- name: SCM Checkout

.github/workflows/matrix-exasol.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
exasol_versions:
1212

13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-24.04
1414

1515
steps:
1616
- name: SCM Checkout

.github/workflows/matrix-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
python_versions:
1212

13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-24.04
1414

1515
steps:
1616
- name: SCM Checkout

.github/workflows/merge-gate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
# This job ensures inputs have been executed successfully.
1717
approve-merge:
1818
name: Allow Merge
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-24.04
2020
# If you need additional jobs to be part of the merge gate, add them below
2121
needs: [ fast-checks, slow-checks ]
2222

.github/workflows/report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77

88
Report:
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-24.04
1010
env:
1111
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1212

.github/workflows/slow-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
Tests:
1313
name: Integration-Tests (Python-${{ matrix.python-version }}, Exasol-${{ matrix.exasol-version}})
1414
needs: [ build-matrix ]
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-24.04
1616
# Even though the environment "manual-approval" will be created automatically,
1717
# it still needs to be configured to require interactive review.
1818
# See project settings on GitHub (Settings / Environments / manual-approval).

0 commit comments

Comments
 (0)