git.iko.soy/typeable/haskell-stack-trace-plugin
on master help sign in
release preparation
093a052waddlaw
.github/workflows/cabal.yml+16−28
@@ -2,13 +2,9 @@ name: cabal
2
2
3on:
3on:
4 push:
4 push:
5− branches:
5+ branches: [ master ]
6− - master
7− tags-ignore:
8− - '*'
9 pull_request:
6 pull_request:
10− branches:
7+ branches: [ '*' ]
11− - '*'
12 schedule:
8 schedule:
13 - cron: "00 15 * * *"
9 - cron: "00 15 * * *"
14
10
@@ -17,40 +13,32 @@ jobs:
17 runs-on: ubuntu-18.04
13 runs-on: ubuntu-18.04
18 strategy:
14 strategy:
19 matrix:
15 matrix:
20− ghc: ["8.6.5", "8.8.1", "8.10.4"]
16+ ghc: ["8.6", "8.8", "8.10"]
21− cabal: ["3.0"]
17+ cabal: ["3.2"]
18+ cache-version: ["2021-05-21"]
22
19
23 steps:
20 steps:
24 - uses: actions/checkout@v2
21 - uses: actions/checkout@v2
25− - uses: actions/setup-haskell@v1
22+ - uses: haskell/actions/setup@v1
26 with:
23 with:
27 ghc-version: ${{ matrix.ghc }}
24 ghc-version: ${{ matrix.ghc }}
28 cabal-version: ${{ matrix.cabal }}
25 cabal-version: ${{ matrix.cabal }}
29
26
30− - name: Display ghc & cabal version
31− run: |
32− ghc -V
33− cabal -V
34−
35 - name: Cache ~/.cabal/store
27 - name: Cache ~/.cabal/store
36− uses: actions/cache@v1.1.0
28+ uses: actions/cache@v2
37− with:
38− path: ~/.cabal/store
39− key: ${{ matrix.ghc }}-v0-cabal-store-${{ hashFiles('*.cabal') }}
40−
41− - name: Cache dist-newstyle
42− uses: actions/cache@v1.1.0
43 with:
29 with:
30+ path: |
31+ ~/.cabal/store
44− path: dist-newstyle
32+ dist-newstyle
45− key: ${{ matrix.ghc }}-v0-cabal-dist-${{ hashFiles('*.cabal') }}
33+ key: ${{ runner.os }}-${{ matrix.ghc }}-${{ matrix.cache-version }}-cabal
46
34
47 - name: Install dependencies
35 - name: Install dependencies
48 run: |
36 run: |
49− cabal v2-update
37+ cabal update
50− cabal v2-configure --disable-optimization --enable-tests --write-ghc-environment-files=always -j2
38+ cabal configure --disable-optimization --enable-tests --write-ghc-environment-files=always -j2
51− cabal v2-build --only-dependencies
39+ cabal build --only-dependencies
52
40
53 - name: Build & Test
41 - name: Build & Test
54 run: |
42 run: |
55− cabal v2-build --flag dev
43+ cabal build --flag dev
56− cabal v2-test --flag dev
44+ cabal test --flag dev
.gitignore+2−1
@@ -3,4 +3,5 @@ dist-*/
3.ghc.environment.*
3.ghc.environment.*
4cabal.project.local
4cabal.project.local
5
5
6−*~
6+*~
7+tasks.json
CHANGELOG.md+4
@@ -2,6 +2,10 @@
2
2
3## Unreleased changes
3## Unreleased changes
4
4
5+## 0.1.2.0 -- 2021-05-21
6+
7+- Added support for GHC 8.10 [#7](https://github.com/waddlaw/haskell-stack-trace-plugin/pull/7) (@etorreborre)
8+
5## 0.1.1.1 -- 2020-01-18
9## 0.1.1.1 -- 2020-01-18
6
10
7- Allow GHC-8.8.1
11- Allow GHC-8.8.1
LICENSE+1−1
@@ -1,4 +1,4 @@
1−Copyright (c) 2018-2020 Shinya Yamaguchi
1+Copyright (c) 2018-2021 Shinya Yamaguchi
2
2
3Permission is hereby granted, free of charge, to any person obtaining
3Permission is hereby granted, free of charge, to any person obtaining
4a copy of this software and associated documentation files (the
4a copy of this software and associated documentation files (the
haskell-stack-trace-plugin.cabal+8−11
@@ -12,15 +12,15 @@ bug-reports:
12license: MIT
12license: MIT
13license-file: LICENSE
13license-file: LICENSE
14author: Shinya Yamaguchi
14author: Shinya Yamaguchi
15−maintainer: ingronze@gmail.com
15+maintainer: a@wado.dev
16−copyright: 2018-2020 Shinya Yamaguchi
16+copyright: 2018-2021 Shinya Yamaguchi
17category: Compiler Plugin, Development, Debug
17category: Compiler Plugin, Development, Debug
18build-type: Simple
18build-type: Simple
19extra-source-files:
19extra-source-files:
20 CHANGELOG.md
20 CHANGELOG.md
21 Readme.md
21 Readme.md
22
22
23−tested-with: GHC ==8.6.5 || ==8.8.1 || ==8.10.4
23+tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.4
24
24
25source-repository head
25source-repository head
26 type: git
26 type: git
@@ -44,10 +44,7 @@ library
44 if flag(dev)
44 if flag(dev)
45 ghc-options:
45 ghc-options:
46 -Wall -Werror -Wcompat -Wincomplete-uni-patterns
46 -Wall -Werror -Wcompat -Wincomplete-uni-patterns
47− -Wnoncanonical-monad-instances
47+ -Wnoncanonical-monad-instances -Wno-missing-home-modules
48− -Wno-missing-home-modules
49−
50− -- -Wincomplete-record-updates
51 else
48 else
52 ghc-options: -Wall
49 ghc-options: -Wall
53
50
@@ -57,11 +54,11 @@ test-suite test
57 hs-source-dirs: test
54 hs-source-dirs: test
58 type: exitcode-stdio-1.0
55 type: exitcode-stdio-1.0
59 build-depends:
56 build-depends:
60− , bytestring ^>=0.10
57+ , bytestring >=0.10 && <0.12
61− , hspec ^>=2.7
58+ , hspec ^>=2.8
62− , typed-process ^>=0.2.6
59+ , typed-process ^>=0.2
63
60
64− build-tool-depends: hspec-discover:hspec-discover ^>=2.7
61+ build-tool-depends: hspec-discover:hspec-discover ^>=2.8
65 other-modules: StackTrace.PluginSpec
62 other-modules: StackTrace.PluginSpec
66
63
67 if flag(dev)
64 if flag(dev)