File tree 8 files changed +119
-68
lines changed
8 files changed +119
-68
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ # Trigger the workflow on push or pull request,
5
+ # but only for the master branch
6
+ push :
7
+ branches :
8
+ - master
9
+ pull_request :
10
+
11
+ jobs :
12
+ build :
13
+ name : ghc ${{ matrix.ghc }}
14
+ runs-on : ubuntu-16.04
15
+ strategy :
16
+ matrix :
17
+ cabal : ["3.0"]
18
+ ghc :
19
+ - " 8.2.2"
20
+ - " 8.4.4"
21
+ - " 8.6.5"
22
+ - " 8.8.3"
23
+ - " 8.10.1"
24
+
25
+ steps :
26
+ - uses : actions/checkout@v2
27
+ if : github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'
28
+
29
+ - uses : actions/setup-haskell@v1
30
+ name : Setup Haskell
31
+ with :
32
+ ghc-version : ${{ matrix.ghc }}
33
+ cabal-version : ${{ matrix.cabal }}
34
+
35
+ - uses : actions/cache@v1
36
+ name : Cache ~/.cabal/store
37
+ with :
38
+ path : ~/.cabal/store
39
+ key : ${{ runner.os }}-${{ matrix.ghc }}-cabal
40
+
41
+ - name : Build
42
+ run : |
43
+ cabal update
44
+ cabal build all --enable-tests --enable-benchmarks --write-ghc-environment-files=always
45
+
46
+ - name : Test
47
+ run : |
48
+ cabal test all --enable-tests --test-show-details=direct
Original file line number Diff line number Diff line change 1
1
sudo : true
2
- language : haskell
2
+ language : generic
3
3
4
4
git :
5
5
depth : 5
6
6
7
- cabal : " 3.0"
8
-
9
7
cache :
10
8
directories :
11
- - " $HOME/.cabal/store"
12
9
- " $HOME/.stack"
13
- - " $TRAVIS_BUILD_DIR/.stack-work"
14
10
15
11
matrix :
16
12
include :
17
- - ghc : 8.2.2
18
- - ghc : 8.4.4
19
- - ghc : 8.6.5
20
- - ghc : 8.8.1
21
-
22
- - ghc : 8.8.1
23
- env : STACK_YAML="$TRAVIS_BUILD_DIR/stack.yaml"
24
-
25
- - language : nix
26
- install : echo 'Running nix...'
27
- script : nix-shell --run 'cabal v2-test --enable-tests'
13
+ - env : GHC='8.8.3'
14
+ os : linux
15
+ - env : GHC='8.8.3'
16
+ os : osx
28
17
29
18
install :
30
- # HLint check
31
- - curl -sSL https://raw.github.com/ndmitchell/neil/master/misc/travis.sh | sh -s -- hlint .
32
-
33
- - |
34
- if [ -z "$STACK_YAML" ]; then
35
- ghc --version
36
- cabal --version
37
- cabal update
38
- cabal build --enable-tests --enable-benchmarks
39
- else
40
- curl -sSL https://get.haskellstack.org/ | sh
41
- stack --version
42
- stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks
43
- fi
19
+ # install stack and build project
20
+ - curl -sSL https://get.haskellstack.org/ | sh
21
+ - stack --version
22
+ - stack build --test --no-run-tests --bench --no-run-benchmarks
44
23
45
24
script :
46
- - |
47
- if [ -z "$STACK_YAML" ]; then
48
- cabal test --enable-tests
49
- else
50
- stack test --system-ghc
51
- fi
25
+ - stack test --no-terminal
52
26
53
27
notifications :
54
28
email : false
Original file line number Diff line number Diff line change 3
3
` type-errors-pretty ` uses [ PVP Versioning] [ 1 ] .
4
4
The changelog is available [ on GitHub] [ 2 ] .
5
5
6
+ ## 0.0.1.1 — Apr 18, 2020
7
+
8
+ * [ #10 ] ( https://github.com/chshersh/type-errors-pretty/issues/10 ) :
9
+ Support GHC-8.10.
10
+
6
11
## 0.0.1.0 — Oct 15, 2019
7
12
8
- * [ #216 ] ( https://github.com/chshersh/type-errors-pretty/pull/5 ) :
13
+ * [ #5 ] ( https://github.com/chshersh/type-errors-pretty/pull/5 ) :
9
14
Support GHC-8.8.
10
- (by [ @chshersh ] ( https://github.com/chshersh ) )
11
15
12
16
## 0.0.0.0 — Jul 15, 2019
13
17
Original file line number Diff line number Diff line change 1
1
# type-errors-pretty
2
2
3
3
![ pretty-bug] ( https://user-images.githubusercontent.com/4276606/61183911-eda86300-a679-11e9-9b8e-34c129469075.png )
4
- [ ![ Build status] ( https://img.shields.io/travis/chshersh/type-errors-pretty.svg?logo=travis )] ( https://travis-ci.org/chshersh/type-errors-pretty )
4
+
5
+ [ ![ GitHub CI] ( https://github.com/chshersh/type-errors-pretty/workflows/CI/badge.svg )] ( https://github.com/chshersh/type-errors-pretty/actions )
6
+ [ ![ Build status] ( https://img.shields.io/travis/com/chshersh/type-errors-pretty/master?logo=travis )] ( https://travis-ci.com/chshersh/type-errors-pretty )
7
+ [ ![ Windows build status] ( https://ci.appveyor.com/api/projects/status/github/chshersh/type-errors-pretty?branch=master&svg=true )] ( https://ci.appveyor.com/project/chshersh/type-errors-pretty )
5
8
[ ![ Hackage] ( https://img.shields.io/hackage/v/type-errors-pretty.svg?logo=haskell )] ( https://hackage.haskell.org/package/type-errors-pretty )
6
9
[ ![ Stackage Lts] ( http://stackage.org/package/type-errors-pretty/badge/lts )] ( http://stackage.org/lts/package/type-errors-pretty )
7
10
[ ![ Stackage Nightly] ( http://stackage.org/package/type-errors-pretty/badge/nightly )] ( http://stackage.org/nightly/package/type-errors-pretty )
8
11
[ ![ MPL-2.0 license] ( https://img.shields.io/badge/license-MPL--2.0-blue.svg )] ( LICENSE )
9
12
13
+
10
14
> "It is important that we forgive ourselves for making mistakes. We need to learn
11
15
> from our errors and move on."
12
16
>
Original file line number Diff line number Diff line change
1
+ clone_folder : " c:\\ WORK"
2
+ clone_depth : 5
3
+
4
+ # Do not build feature branch with open Pull Requests
5
+ skip_branch_with_pr : true
6
+
7
+ platform :
8
+ - x86_64
9
+
10
+ cache :
11
+ - " C:\\ SR"
12
+ - dist-newstyle
13
+
14
+ environment :
15
+ global :
16
+ CABOPTS : --store-dir=C:\\SR
17
+
18
+ matrix :
19
+ - GHCVER : 8.8.3
20
+
21
+ install :
22
+ - choco source add -n mistuke -s https://www.myget.org/F/mistuke/api/v2
23
+ - choco install -y cabal --version 3.0.0.0
24
+ - choco install -y ghc --version %GHCVER%
25
+ - refreshenv
26
+
27
+ before_build :
28
+ - cabal --version
29
+ - ghc --version
30
+ - cabal %CABOPTS% update
31
+
32
+ build_script :
33
+ - cabal %CABOPTS% build --enable-tests --write-ghc-environment-files=always
34
+ - cabal %CABOPTS% test --enable-tests
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- resolver : nightly-2019-10-15
1
+ resolver : lts-15.8
Original file line number Diff line number Diff line change 1
1
cabal-version : 2.4
2
2
name : type-errors-pretty
3
- version : 0.0.1.0
3
+ version : 0.0.1.1
4
4
synopsis : Combinators for writing pretty type errors easily
5
5
description :
6
6
This library provides replacements for the @ErrorMessage@ constructors to
@@ -19,24 +19,31 @@ extra-doc-files: README.md
19
19
tested-with : GHC == 8.2.2
20
20
GHC == 8.4.4
21
21
GHC == 8.6.5
22
- GHC == 8.8.1
22
+ GHC == 8.8.3
23
+ GHC == 8.10.1
23
24
24
25
source-repository head
25
26
type : git
26
27
location : https://github.com/chshersh/type-errors-pretty.git
27
28
28
29
common common-options
29
- build-depends : base >= 4.10.1.0 && < 4.14
30
+ build-depends : base >= 4.10.1.0 && < 4.15
31
+
30
32
ghc-options : -Wall
31
- -Wincomplete-uni-patterns
32
- -Wincomplete-record-updates
33
33
-Wcompat
34
34
-Widentities
35
+ -Wincomplete-uni-patterns
36
+ -Wincomplete-record-updates
35
37
-Wredundant-constraints
36
- -fhide-source-paths
37
- if impl(ghc >= 8.8.1 )
38
+ if impl(ghc >= 8.2 )
39
+ ghc-options : -fhide-source-paths
40
+ if impl(ghc >= 8.4 )
41
+ ghc-options : -Wmissing-export-lists
42
+ -Wpartial-fields
43
+ if impl(ghc >= 8.8 )
38
44
ghc-options : -Wmissing-deriving-strategies
39
- -Werror=missing-deriving-strategies
45
+ if impl(ghc >= 8.10 )
46
+ ghc-options : -Wunused-packages
40
47
41
48
default-language : Haskell2010
42
49
default-extensions : ConstraintKinds
You can’t perform that action at this time.
0 commit comments