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:
build:
name: CI
runs-on: ${{ matrix.os }}
name: Stack CI - Linux - ${{ matrix.resolver }} - ${{ matrix.yaml }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
resolver:
- nightly
- lts-17
- lts-16
- lts-15
- lts-14
- lts-12
yaml: ['stack.yaml', 'stack-master.yaml']
include:
- resolver: lts-12
yaml: stack.yaml
- resolver: lts-12
yaml: stack-master.yaml
- resolver: lts-14
yaml: stack-master.yaml
- resolver: lts-16
yaml: stack-master.yaml
- resolver: lts-17
yaml: stack.yaml
- resolver: lts-17
yaml: stack-master.yaml
steps:
- name: Clone project