release preparation

This commit is contained in:
waddlaw 2021-05-21 15:17:47 +09:00
parent d18c37ab40
commit 093a052f05
5 changed files with 31 additions and 41 deletions

View File

@ -2,13 +2,9 @@ name: cabal
on:
push:
branches:
- master
tags-ignore:
- '*'
branches: [ master ]
pull_request:
branches:
- '*'
branches: [ '*' ]
schedule:
- cron: "00 15 * * *"
@ -17,40 +13,32 @@ jobs:
runs-on: ubuntu-18.04
strategy:
matrix:
ghc: ["8.6.5", "8.8.1", "8.10.4"]
cabal: ["3.0"]
ghc: ["8.6", "8.8", "8.10"]
cabal: ["3.2"]
cache-version: ["2021-05-21"]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-haskell@v1
- uses: haskell/actions/setup@v1
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- name: Display ghc & cabal version
run: |
ghc -V
cabal -V
- name: Cache ~/.cabal/store
uses: actions/cache@v1.1.0
uses: actions/cache@v2
with:
path: ~/.cabal/store
key: ${{ matrix.ghc }}-v0-cabal-store-${{ hashFiles('*.cabal') }}
- name: Cache dist-newstyle
uses: actions/cache@v1.1.0
with:
path: dist-newstyle
key: ${{ matrix.ghc }}-v0-cabal-dist-${{ hashFiles('*.cabal') }}
path: |
~/.cabal/store
dist-newstyle
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ matrix.cache-version }}-cabal
- name: Install dependencies
run: |
cabal v2-update
cabal v2-configure --disable-optimization --enable-tests --write-ghc-environment-files=always -j2
cabal v2-build --only-dependencies
cabal update
cabal configure --disable-optimization --enable-tests --write-ghc-environment-files=always -j2
cabal build --only-dependencies
- name: Build & Test
run: |
cabal v2-build --flag dev
cabal v2-test --flag dev
cabal build --flag dev
cabal test --flag dev

3
.gitignore vendored
View File

@ -3,4 +3,5 @@ dist-*/
.ghc.environment.*
cabal.project.local
*~
*~
tasks.json

View File

@ -2,6 +2,10 @@
## Unreleased changes
## 0.1.2.0 -- 2021-05-21
- Added support for GHC 8.10 [#7](https://github.com/waddlaw/haskell-stack-trace-plugin/pull/7) (@etorreborre)
## 0.1.1.1 -- 2020-01-18
- Allow GHC-8.8.1

View File

@ -1,4 +1,4 @@
Copyright (c) 2018-2020 Shinya Yamaguchi
Copyright (c) 2018-2021 Shinya Yamaguchi
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the

View File

@ -12,15 +12,15 @@ bug-reports:
license: MIT
license-file: LICENSE
author: Shinya Yamaguchi
maintainer: ingronze@gmail.com
copyright: 2018-2020 Shinya Yamaguchi
maintainer: a@wado.dev
copyright: 2018-2021 Shinya Yamaguchi
category: Compiler Plugin, Development, Debug
build-type: Simple
extra-source-files:
CHANGELOG.md
Readme.md
tested-with: GHC ==8.6.5 || ==8.8.1 || ==8.10.4
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.4
source-repository head
type: git
@ -44,10 +44,7 @@ library
if flag(dev)
ghc-options:
-Wall -Werror -Wcompat -Wincomplete-uni-patterns
-Wnoncanonical-monad-instances
-Wno-missing-home-modules
-- -Wincomplete-record-updates
-Wnoncanonical-monad-instances -Wno-missing-home-modules
else
ghc-options: -Wall
@ -57,11 +54,11 @@ test-suite test
hs-source-dirs: test
type: exitcode-stdio-1.0
build-depends:
, bytestring ^>=0.10
, hspec ^>=2.7
, typed-process ^>=0.2.6
, bytestring >=0.10 && <0.12
, hspec ^>=2.8
, typed-process ^>=0.2
build-tool-depends: hspec-discover:hspec-discover ^>=2.7
build-tool-depends: hspec-discover:hspec-discover ^>=2.8
other-modules: StackTrace.PluginSpec
if flag(dev)