Skip to content

Commit 0077662

Browse files
committed
Use include instead excludes
1 parent a1a02f7 commit 0077662

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 5 deletions
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'
3433

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

.github/workflows/test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ jobs:
1010
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']
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 ch
2524

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

0 commit comments

Comments
 (0)