Skip to content

Commit 19b5841

Browse files
committed
CI: Use ubuntu-24.04 explicitly
Using ubuntu-latest might break any time GitHub switches the runner image to a different base.
1 parent f342450 commit 19b5841

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.github/workflows/patch-test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ env:
1313
jobs:
1414
find-ghc-version:
1515
name: Find GHC versions for which a bindist is provided
16-
runs-on: ubuntu-22.04
16+
runs-on: ubuntu-24.04
1717
outputs:
1818
ghc-matrix: ${{ steps.set-ghc-versions.outputs.ghc-matrix }}
1919
steps:
@@ -30,7 +30,7 @@ jobs:
3030
strategy:
3131
fail-fast: false
3232
matrix:
33-
os: [ubuntu-22.04, macos-13, windows-latest]
33+
os: [ubuntu-24.04, macos-13, windows-latest]
3434
ghc-version: ${{ fromJSON(needs.find-ghc-version.outputs.ghc-matrix) }}
3535
runs-on: ${{ matrix.os }}
3636
steps:
@@ -39,7 +39,7 @@ jobs:
3939
sudo apt-get update
4040
sudo apt-get install --no-install-recommends -yy libtinfo5
4141
sudo apt-get clean
42-
if: ${{ matrix.os == 'ubuntu-22.04' }}
42+
if: ${{ matrix.os == 'ubuntu-24.04' }}
4343
- uses: actions/checkout@v4
4444
- name: Mount Bazel cache
4545
uses: actions/cache@v4

.github/workflows/prepare-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ permissions:
1515
jobs:
1616
release:
1717
name: Prepare Release
18-
runs-on: ubuntu-22.04
18+
runs-on: ubuntu-24.04
1919
steps:
2020
- name: Check version
2121
run: |

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
webpage:
1010
name: Update webpage
11-
runs-on: ubuntu-22.04
11+
runs-on: ubuntu-24.04
1212
steps:
1313
- name: Checkout
1414
uses: actions/checkout@v4

.github/workflows/update-ghc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
update_ghc:
99
name: GHC ${{ matrix.ghc }} Update
10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-24.04
1111
strategy:
1212
fail-fast: false
1313
matrix:

.github/workflows/workflow.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ concurrency:
1818
jobs:
1919
lint:
2020
name: Format & Lint
21-
runs-on: ubuntu-22.04
21+
runs-on: ubuntu-24.04
2222
steps:
2323
- uses: actions/checkout@v4
2424
- uses: tweag/configure-bazel-remote-cache-auth@v0
@@ -43,7 +43,7 @@ jobs:
4343
strategy:
4444
fail-fast: false
4545
matrix:
46-
os: [ubuntu-22.04, macos-13]
46+
os: [ubuntu-24.04, macos-13]
4747
module: [rules_haskell, rules_haskell_nix, rules_haskell_tests]
4848
bzlmod: [true, false]
4949
ghc:
@@ -139,7 +139,7 @@ jobs:
139139
strategy:
140140
fail-fast: false
141141
matrix:
142-
os: [ubuntu-22.04, macos-13, windows-latest]
142+
os: [ubuntu-24.04, macos-13, windows-latest]
143143
module: [rules_haskell, rules_haskell_tests]
144144
bzlmod: [true, false]
145145
ghc:
@@ -257,7 +257,7 @@ jobs:
257257
strategy:
258258
fail-fast: false
259259
matrix:
260-
os: [ubuntu-22.04, macos-13, macos-14, windows-latest]
260+
os: [ubuntu-24.04, macos-13, macos-14, windows-latest]
261261
bzlmod: [true, false]
262262
bazel:
263263
- "6.x"
@@ -332,7 +332,7 @@ jobs:
332332
bazelisk build "//..."
333333
334334
all_ci_tests:
335-
runs-on: ubuntu-22.04
335+
runs-on: ubuntu-24.04
336336
needs:
337337
- lint
338338
- examples-bindist

0 commit comments

Comments
 (0)