diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index dd02a577687..28a921f03af 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -53,7 +53,7 @@ jobs: matrix: sys: - { os: windows-latest, shell: "C:/msys64/usr/bin/bash.exe -e {0}" } - - { os: ubuntu-22.04, shell: bash } + - { os: ubuntu-latest, shell: bash } - { os: macos-latest, shell: bash } ghc: [ @@ -250,6 +250,7 @@ jobs: validate-old-ghcs: name: Validate old ghcs ${{ matrix.extra-ghc }} + # latest/latest doesn't have the old packages the old ghcs depend on runs-on: ubuntu-22.04 needs: validate @@ -257,7 +258,7 @@ jobs: matrix: extra-ghc: ["8.6.5", "8.4.4", "8.2.2", "8.0.2"] - ## GHC 7.10.3 does not install on ubuntu-22.04 with ghcup. + ## GHC 7.10.3 does not install on ubuntu-latest with ghcup. ## Older GHCs are not supported by ghcup in the first place. fail-fast: false @@ -388,7 +389,7 @@ jobs: matrix: sys: - { os: windows-latest, shell: "C:/msys64/usr/bin/bash.exe -e {0}" } - - { os: ubuntu-22.04, shell: bash } + - { os: ubuntu-latest, shell: bash } - { os: macos-latest, shell: bash } # 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,