Skip to content

Commit 9edcb75

Browse files
authored
Add warnings for GHC 9.2.1 (#9)
* Add warnings for GHC 9.2.1 * Add manual workflow_dispatch runner * Use GHC 9.0.2
1 parent 77a01a4 commit 9edcb75

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: CI
22

33
on:
4+
workflow_dispatch:
45
pull_request:
56
types: [synchronize, opened, reopened]
67
push:
@@ -23,13 +24,13 @@ jobs:
2324
- "8.6.5"
2425
- "8.8.4"
2526
- "8.10.7"
26-
- "9.0.1"
27+
- "9.0.2"
2728
- "9.2.1"
2829
exclude:
2930
- os: macOS-latest
3031
ghc: 9.2.1
3132
- os: macOS-latest
32-
ghc: 9.0.1
33+
ghc: 9.0.2
3334
- os: macOS-latest
3435
ghc: 8.8.4
3536
- os: macOS-latest
@@ -42,7 +43,7 @@ jobs:
4243
- os: windows-latest
4344
ghc: 9.2.1
4445
- os: windows-latest
45-
ghc: 9.0.1
46+
ghc: 9.0.2
4647
- os: windows-latest
4748
ghc: 8.8.4
4849
- os: windows-latest
@@ -55,7 +56,7 @@ jobs:
5556
steps:
5657
- uses: actions/checkout@v2
5758

58-
- uses: haskell/actions/setup@v1
59+
- uses: haskell/actions/setup@v1.2
5960
id: setup-haskell-cabal
6061
name: Setup Haskell
6162
with:

co-log-core.cabal

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ common common-options
6363
ghc-options: -Wmissing-deriving-strategies
6464
if impl(ghc >= 8.10)
6565
ghc-options: -Wunused-packages
66+
if impl(ghc >= 9.0)
67+
ghc-options: -Winvalid-haddock
68+
if impl(ghc >= 9.2)
69+
ghc-options: -Wredundant-bang-patterns
70+
-Woperator-whitespace
6671

6772
default-language: Haskell2010
6873
default-extensions: ConstraintKinds

0 commit comments

Comments
 (0)