ci: Reduce stack test matrix

Drop nightly and lts-15: they don't add GHC versions to the matrix and
new deps are better tested in the haskell-ci (cabal) workflow.

There's also little point in testing against both xmonad 0.15 and xmonad
master with all LTS versions. Drop most of those, reduces GitHub cache
and CPU time usage.

Related: fd243ca1c1
Related: https://github.com/xmonad/X11/pull/75
This commit is contained in:
Tomas Janousek 2021-05-23 18:44:23 +01:00
parent 6384cd04a4
commit 10574d9b61

View File

@ -6,20 +6,24 @@ on:
jobs: jobs:
build: build:
name: CI name: Stack CI - Linux - ${{ matrix.resolver }} - ${{ matrix.yaml }}
runs-on: ${{ matrix.os }} runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest] include:
resolver: - resolver: lts-12
- nightly yaml: stack.yaml
- lts-17 - resolver: lts-12
- lts-16 yaml: stack-master.yaml
- lts-15 - resolver: lts-14
- lts-14 yaml: stack-master.yaml
- lts-12 - resolver: lts-16
yaml: ['stack.yaml', 'stack-master.yaml'] yaml: stack-master.yaml
- resolver: lts-17
yaml: stack.yaml
- resolver: lts-17
yaml: stack-master.yaml
steps: steps:
- name: Clone project - name: Clone project