mirror of
https://github.com/google/ormolu.git
synced 2024-10-05 12:17:09 +03:00
Test with GHC 8.10.3
This commit is contained in:
parent
dc14e944b3
commit
4e01690e05
@ -7,9 +7,9 @@ steps:
|
||||
command: |
|
||||
nix-build --keep-going --no-out-link --argstr ormoluCompiler ghc884
|
||||
timeout: 100
|
||||
- label: Build and test with GHC 8.10.2
|
||||
- label: Build and test with GHC 8.10.3
|
||||
command: |
|
||||
nix-build --keep-going --no-out-link --argstr ormoluCompiler ghc8102
|
||||
nix-build --keep-going --no-out-link --argstr ormoluCompiler ghc8103
|
||||
timeout: 100
|
||||
- wait
|
||||
- label: Check formatting
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ pkgs ? (import ./nix/nixpkgs { inherit system; })
|
||||
, system ? builtins.currentSystem
|
||||
, ormoluCompiler ? "ghc8102"
|
||||
, ormoluCompiler ? "ghc8103"
|
||||
}:
|
||||
|
||||
let
|
||||
@ -37,7 +37,7 @@ let
|
||||
"postgrest"
|
||||
"purescript"
|
||||
"tensorflow"
|
||||
] ++ (if ormoluCompiler == "ghc8102" then [] else ["lens"]);
|
||||
];
|
||||
ormolizedPackages = doCheck:
|
||||
pkgs.lib.mapAttrs (name: p: ormolize {
|
||||
package = p;
|
||||
|
@ -1,6 +1,6 @@
|
||||
src/Database/Esqueleto/Internal/Internal.hs:385:1
|
||||
src/Database/Esqueleto/Internal/Internal.hs:384:1
|
||||
The GHC parser (in Haddock mode) failed:
|
||||
lexical error in string/character literal at character 's'
|
||||
test/PostgreSQL/Test.hs:562:9-41
|
||||
test/PostgreSQL/Test.hs:564:9-41
|
||||
The GHC parser (in Haddock mode) failed:
|
||||
parse error on input `-- | Check the result is not null'
|
||||
|
@ -13,7 +13,7 @@ src/Extension.hs
|
||||
Formatting is not idempotent.
|
||||
Please, consider reporting the bug.
|
||||
src/Hint/Bracket.hs
|
||||
@@ -247,8 +247,11 @@
|
||||
@@ -250,8 +250,11 @@
|
||||
let y = noLoc $ HsApp noExtField a1 (noLoc (HsPar noExtField a2)),
|
||||
let r = Replace Expr (toSS e) [("a", toSS a1), ("b", toSS a2)] "a (b)"
|
||||
]
|
||||
@ -24,7 +24,7 @@ src/Hint/Bracket.hs
|
||||
+ =
|
||||
+ locPar
|
||||
+ }
|
||||
| L _ (OpApp _ (L locPar (HsPar _ o1@(L locNoPar (OpApp _ v1 (isDot -> True) v2)))) o2 v3) <- [x],
|
||||
| L _ (OpApp _ (L locPar (HsPar _ o1@(L locNoPar (OpApp _ _ (isDot -> True) _)))) o2 v3) <- [x],
|
||||
varToStr o2 == "<$>",
|
||||
let y = noLoc (OpApp noExtField o1 o2 v3) :: LHsExpr GhcPs,
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
src/Control/Exception/Lens.hs:180:13-37
|
||||
The GHC parser (in Haddock mode) failed:
|
||||
parse error on input `AllocationLimitExceeded__'
|
@ -1,5 +1,5 @@
|
||||
src/PostgREST/DbRequestBuilder.hs
|
||||
@@ -147,12 +147,11 @@
|
||||
@@ -148,12 +148,11 @@
|
||||
-- /projects?select=clients(*)
|
||||
origin == tableName relTable
|
||||
&& target == tableName relFTable -- projects
|
||||
@ -16,7 +16,7 @@ src/PostgREST/DbRequestBuilder.hs
|
||||
||
|
||||
-- /projects?select=client_id(*)
|
||||
( origin == tableName relTable
|
||||
@@ -161,19 +160,16 @@
|
||||
@@ -162,19 +161,16 @@
|
||||
)
|
||||
)
|
||||
&& ( isNothing hint
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ system ? builtins.currentSystem }:
|
||||
let
|
||||
rev = "84d74ae9c9cbed73274b8e4e00be14688ffc93fe";
|
||||
sha256 = "0ww70kl08rpcsxb9xdx8m48vz41dpss4hh3vvsmswll35l158x0v";
|
||||
rev = "56bb1b0f7a33e5d487dc2bf2e846794f4dcb4d01";
|
||||
sha256 = "1wl5yglgj3ajbf2j4dzgsxmgz7iqydfs514w73fs9a6x253wzjbs";
|
||||
nixpkgs = builtins.fetchTarball {
|
||||
url = "https://github.com/NixOS/nixpkgs/archive/${rev}.tar.gz";
|
||||
inherit sha256;
|
||||
|
@ -4,7 +4,7 @@ version: 0.1.4.1
|
||||
license: BSD3
|
||||
license-file: LICENSE.md
|
||||
maintainer: Mark Karpov <mark.karpov@tweag.io>
|
||||
tested-with: ghc ==8.6.5 ghc ==8.8.4 ghc ==8.10.2
|
||||
tested-with: ghc ==8.6.5 ghc ==8.8.4 ghc ==8.10.3
|
||||
homepage: https://github.com/tweag/ormolu
|
||||
bug-reports: https://github.com/tweag/ormolu/issues
|
||||
synopsis: A formatter for Haskell source code
|
||||
@ -123,7 +123,7 @@ library
|
||||
Diff >=0.4 && <1.0,
|
||||
ansi-terminal >=0.10 && <1.0,
|
||||
base >=4.12 && <5.0,
|
||||
bytestring >=0.2 && <0.11,
|
||||
bytestring >=0.2 && <0.12,
|
||||
containers >=0.5 && <0.7,
|
||||
dlist >=0.8 && <2.0,
|
||||
exceptions >=0.6 && <0.11,
|
||||
|
Loading…
Reference in New Issue
Block a user