Skip to content

Commit

Permalink
fix: allow GHC 9.12
Browse files Browse the repository at this point in the history
allow GHC 9.12 builtin library version.

ci: add GHC 9.12 version in CI matrix
===

build: head location protocol from git to https
===

Address the following warning.

```
The following errors are likely to affect your build negatively:
Error: [git-protocol] Cloning over git:// might lead to an arbitrary code
execution vulnerability. Furthermore, popular forges like GitHub do not
support it. Use https:// or ssh:// instead.
Error: Hackage would reject this package.
```
  • Loading branch information
ncaq committed Feb 10, 2025
1 parent 4893d40 commit 03485c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ghc: ['9.10.1', '9.8.2', '9.6.5', '9.4.8', '9.2.8']
ghc: ['9.12.1', '9.10.1', '9.8.2', '9.6.5', '9.4.8', '9.2.8']
os: [ubuntu-latest, macOS-latest, windows-latest]

steps:
Expand Down
8 changes: 4 additions & 4 deletions hie-bios.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Extra-Source-Files: README.md
tests/projects/stack-with-yaml/stack-with-yaml.cabal
tests/projects/stack-with-yaml/src/Lib.hs

tested-with: GHC ==9.2.8 || ==9.4.8 || ==9.6.5 || ==9.8.2 || ==9.10.1
tested-with: GHC ==9.2.8 || ==9.4.8 || ==9.6.5 || ==9.8.2 || ==9.10.1 || ==9.12.1

Library
Default-Language: Haskell2010
Expand Down Expand Up @@ -176,10 +176,10 @@ Library
time >= 1.8.0 && < 1.15,
extra >= 1.6.14 && < 1.9,
prettyprinter ^>= 1.6 || ^>= 1.7.0,
ghc >= 9.2.1 && < 9.11,
ghc >= 9.2.1 && < 9.13,
transformers >= 0.5.2 && < 0.7,
temporary >= 1.2 && < 1.4,
template-haskell >= 2.18 && <2.23,
template-haskell >= 2.18 && <2.24,
text >= 1.2.3 && < 2.2,
unix-compat >= 0.5.1 && < 0.8,
unordered-containers >= 0.2.9 && < 0.3,
Expand Down Expand Up @@ -245,4 +245,4 @@ test-suite bios-tests

Source-Repository head
Type: git
Location: git://github.com/mpickering/hie-bios.git
Location: https://github.com/haskell/hie-bios.git

0 comments on commit 03485c0

Please sign in to comment.