-
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade GHC version with which Summoner creates projects
- Loading branch information
Showing
25 changed files
with
116 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ jobs: | |
- ghc: 9.2.8 | ||
- ghc: 9.4.8 | ||
- ghc: 9.6.6 | ||
- ghc: 9.8.2 | ||
|
||
install: | ||
# HLint check | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/usr/bin/env cabal | ||
{- cabal: | ||
build-depends: | ||
, base ^>= 4.18.2.1 | ||
, base ^>= 4.19.1.0 | ||
-} | ||
|
||
main :: IO () | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
resolver: lts-22.38 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
resolver: lts-22.34 | ||
resolver: nightly-2024-10-11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ jobs: | |
- "9.2.8" | ||
- "9.4.8" | ||
- "9.6.6" | ||
- "9.8.2" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
resolver: lts-22.38 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
resolver: lts-22.34 | ||
resolver: nightly-2024-10-11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env stack | ||
{- stack | ||
--resolver lts-22.34 | ||
--resolver nightly-2024-10-11 | ||
script | ||
--package base | ||
-} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{- | | ||
Module : Summoner.GhcVer | ||
Copyright : (c) 2017-2022 Kowainik | ||
Copyright : (c) 2017-2024 Kowainik | ||
SPDX-License-Identifier : MPL-2.0 | ||
Maintainer : Kowainik <[email protected]> | ||
Stability : Stable | ||
|
@@ -38,8 +38,9 @@ data GhcVer | |
| Ghc8107 | ||
| Ghc902 | ||
| Ghc928 | ||
| Ghc945 | ||
| Ghc948 | ||
| Ghc966 | ||
| Ghc982 | ||
deriving stock (Eq, Ord, Show, Enum, Bounded) | ||
|
||
-- | Converts 'GhcVer' into dot-separated string. | ||
|
@@ -53,8 +54,9 @@ showGhcVer = \case | |
Ghc8107 -> "8.10.7" | ||
Ghc902 -> "9.0.2" | ||
Ghc928 -> "9.2.8" | ||
Ghc945 -> "9.4.8" | ||
Ghc948 -> "9.4.8" | ||
Ghc966 -> "9.6.6" | ||
Ghc982 -> "9.8.2" | ||
|
||
{- | These are old GHC versions that are not working with default GHC versions | ||
when using Stack. | ||
|
@@ -76,8 +78,9 @@ latestLts = \case | |
Ghc8107 -> "lts-18.28" | ||
Ghc902 -> "lts-19.33" | ||
Ghc928 -> "lts-20.26" | ||
Ghc945 -> "lts-21.25" | ||
Ghc966 -> "lts-22.34" | ||
Ghc948 -> "lts-21.25" | ||
Ghc966 -> "lts-22.38" | ||
Ghc982 -> "nightly-2024-10-11" | ||
|
||
-- | Represents PVP versioning (4 numbers). | ||
data Pvp = Pvp | ||
|
@@ -102,8 +105,9 @@ baseVerPvp = \case | |
Ghc8107 -> Pvp 4 14 3 0 | ||
Ghc902 -> Pvp 4 15 1 0 | ||
Ghc928 -> Pvp 4 16 4 0 | ||
Ghc945 -> Pvp 4 17 0 0 | ||
Ghc948 -> Pvp 4 17 2 1 | ||
Ghc966 -> Pvp 4 18 2 1 | ||
Ghc982 -> Pvp 4 19 1 0 | ||
|
||
-- | Returns corresponding @base@ version of the given GHC version. | ||
baseVer :: GhcVer -> Text | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.