@@ -14,24 +14,28 @@ jobs:
1414 fail-fast: false
1515 matrix:
1616 os: [ubuntu-latest, macos-latest, windows-latest]
17− resolver: [nightly, lts-20, lts-15, lts-14, lts-12, lts-11, lts-9]
18− # Bugs in GHC make it crash too often to be worth running
17+ resolver: [nightly, lts-20, lts-15, lts-14, lts-12, lts-11]
1918 exclude:
20− - os: macos-latest
21− resolver: lts-9
2219 - os: windows-latest
2320 resolver: lts-15
2421 - os: windows-latest
2522 resolver: nightly
23+ include:
24+ - os: ubuntu-latest
25+ resolver: lts-9
26+ # problems on macOS and Windows (https://github.com/snoyberg/yaml/pull/216#issuecomment-1585522312)
2627
2728 steps:
2829 - name: Clone project
29− uses: actions/checkout@v2
30+ uses: actions/checkout@v3
3031
3132 - name: Cache dependencies
32− uses: actions/cache@v1
33+ if: ${{ runner.os != 'Windows' }}
34+ # Andreas Abel, 2023-06-10, switching off caching on Windows since ~/.stack is not the correct path here.
35+ uses: actions/cache@v3
3336 with:
3437 path: ~/.stack
38+ #NB: This path is not valid on Windows
3539 key: ${{ runner.os }}-${{ matrix.resolver }}-${{ hashFiles('stack.yaml') }}
3640 restore-keys: |
3741 ${{ runner.os }}-${{ matrix.resolver }}-