Skip to content

Commit eed310c

Browse files
committed
Use inclusion instead exclusions
1 parent a1a02f7 commit eed310c

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.github/workflows/build.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,9 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
ghc: ['8.10.2.2', '8.10.2', '8.10.1', '8.8.4', '8.8.3', '8.8.2', '8.6.5', '8.6.4']
19+
ghc: ['8.10.2', '8.10.1', '8.8.4', '8.8.3', '8.8.2', '8.6.5', '8.6.4']
2020
os: [ubuntu-latest, macOS-latest, windows-latest]
2121
exclude:
22-
- os: ubuntu-latest
23-
ghc: '8.10.2.2' # only valid for windows and chocolatey
24-
- os: macOS-latest
25-
ghc: '8.10.2.2' # only valid for windows and chocolatey
2622
- os: windows-latest
2723
ghc: '8.10.2' # broken due to https://gitlab.haskell.org/ghc/ghc/-/issues/18550
2824
- os: windows-latest
@@ -31,6 +27,9 @@ jobs:
3127
ghc: '8.8.3' # fails due to segfault
3228
- os: windows-latest
3329
ghc: '8.8.2' # fails due to error with Cabal
30+
include:
31+
- os: windows-latest
32+
ghc: '8.10.2.2' # only available for windows and choco
3433

3534
steps:
3635
- uses: actions/checkout@v2

.github/workflows/test.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,9 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
ghc: ['8.10.2.2', '8.10.2', '8.10.1', '8.8.4', '8.8.3', '8.8.2', '8.6.5', '8.6.4']
10+
ghc: ['8.10.2', '8.10.1', '8.8.4', '8.8.3', '8.8.2', '8.6.5', '8.6.4']
1111
os: [ubuntu-latest, macOS-latest, windows-latest]
1212
exclude:
13-
- os: ubuntu-latest
14-
ghc: '8.10.2.2' # only valid for windows and chocolatey
15-
- os: macOS-latest
16-
ghc: '8.10.2.2' # only valid for windows and chocolatey
1713
- os: windows-latest
1814
ghc: '8.10.2' # broken due to https://gitlab.haskell.org/ghc/ghc/-/issues/18550
1915
- os: windows-latest
@@ -22,6 +18,9 @@ jobs:
2218
ghc: '8.8.3' # fails due to segfault
2319
- os: windows-latest
2420
ghc: '8.8.2' # fails due to error with Cabal
21+
include:
22+
- os: windows-latest
23+
ghc: '8.10.2.2' # only available for windows and choco
2524

2625
steps:
2726
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)