Skip to content

Commit

Permalink
switch validate to 22.04 for now
Browse files Browse the repository at this point in the history
`validate-old-ghcs` doesn't work on 24.04, which GHA just updated
to; and it uses build artifacts from the earlier steps, so for now
the whole thing needs to be downgraded to get thinsg working. We
must address this properly later.

(cherry picked from commit 85f0f0c)
  • Loading branch information
geekosaur committed Oct 11, 2024
1 parent 01d22f7 commit d864518
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13, windows-latest]
os: [ubuntu-22.04, macos-13, windows-latest]
# If you remove something from here, then add it to the old-ghcs job.
# Also a removed GHC from here means that we are actually dropping
# support, so the PR *must* have a changelog entry.
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:

validate-old-ghcs:
name: Validate old ghcs ${{ matrix.extra-ghc }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: validate

strategy:
Expand Down Expand Up @@ -361,7 +361,7 @@ jobs:
needs: validate
strategy:
matrix:
os: [ubuntu-latest, macos-13, windows-latest]
os: [ubuntu-22.04, macos-13, windows-latest]
# We only use one ghc version the used one for the next release (defined at top of the workflow)
# We need to build an array dynamically to inject the appropiate env var in a previous job,
# see https://docs.github.com/en/actions/learn-github-actions/expressions#fromjson
Expand Down

0 comments on commit d864518

Please sign in to comment.