Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move away from -latest runner images #2280

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/free_disk_space_on_linux/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ runs:
run: |-
sudo swapoff -a
sudo rm -rf /swapfile /usr/share/dotnet /usr/local/lib/android /opt/ghc "$ANDROID_HOME" /usr/local/.ghcup /usr/local/share/powershell /opt/az /opt/microsoft /etc/skel
docker rmi $(docker images -q) -f
docker images -q | xargs -r docker rmi -f
6 changes: 3 additions & 3 deletions .github/workflows/patch-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:
jobs:
find-ghc-version:
name: Find GHC versions for which a bindist is provided
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
ghc-matrix: ${{ steps.set-ghc-versions.outputs.ghc-matrix }}
steps:
Expand All @@ -30,7 +30,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13, windows-latest]
os: [ubuntu-24.04, macos-13, windows-2022]
ghc-version: ${{ fromJSON(needs.find-ghc-version.outputs.ghc-matrix) }}
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -39,7 +39,7 @@ jobs:
sudo apt-get update
sudo apt-get install --no-install-recommends -yy libtinfo5
sudo apt-get clean
if: ${{ matrix.os == 'ubuntu-latest' }}
if: ${{ matrix.os == 'ubuntu-24.04' }}
- uses: actions/checkout@v4
- name: Mount Bazel cache
uses: actions/cache@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:
jobs:
release:
name: Prepare Release
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Check version
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
webpage:
name: Update webpage
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-ghc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
update_ghc:
name: GHC ${{ matrix.ghc }} Update
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ concurrency:
jobs:
lint:
name: Format & Lint
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: tweag/configure-bazel-remote-cache-auth@v0
Expand All @@ -43,7 +43,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13]
os: [ubuntu-24.04, macos-13]
module: [rules_haskell, rules_haskell_nix, rules_haskell_tests]
bzlmod: [true, false]
ghc:
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13, windows-latest]
os: [ubuntu-24.04, macos-13, windows-2022]
module: [rules_haskell, rules_haskell_tests]
bzlmod: [true, false]
ghc:
Expand All @@ -155,18 +155,15 @@ jobs:
bzlmod: true
# currently proto-lens-protoc (read: protoc-gen-haskell) fails with an access violation on Windows
- ghc: 9.6.5
os: windows-latest
os: windows-2022
- ghc: 9.8.2
os: windows-latest
os: windows-2022
env:
GHC_VERSION: ${{ matrix.ghc }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/free_disk_space_on_linux
- uses: ./.github/actions/install_apt_pkgs
with:
packages: libtinfo5
- name: Mount Bazel cache
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -253,7 +250,7 @@ jobs:
path: logs

all_ci_tests:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs:
- lint
- test-nixpkgs
Expand Down
3 changes: 3 additions & 0 deletions foo.cc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

#include <cxxabi.h>

Loading