Skip to content

Commit

Permalink
allow ghc 9.6 (#4)
Browse files Browse the repository at this point in the history
* add nix dev shell with ghc 9.6
* change formatting to fourmolu
* upgrade github actions
* update stack.yaml to lts 22
* add role annotations for ghc 9.8
  • Loading branch information
chris-martin authored Jan 19, 2024
1 parent 0667360 commit 2990158
Show file tree
Hide file tree
Showing 29 changed files with 789 additions and 466 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,27 @@ jobs:
strategy:
matrix:
stack-yaml:
- stack-nightly.yaml # ghc-9.2
- stack.yaml # ghc-9.0
- stack-nightly.yaml # ghc-9.8
- stack.yaml # ghc-9.6
- stack-lts-21.25.yaml # ghc-9.4
- stack-lts-20.26.yaml # ghc-9.2
- stack-lts-19.6.yaml # ghc-9.0
- stack-lts-18.28.yaml # ghc-8.10
- stack-lts-16.31.yaml # ghc-8.8
- stack-lts-14.27.yaml # ghc-8.6
- stack-lts-12.26.yaml # ghc-8.4
fail-fast: false

steps:
- uses: actions/checkout@v3
- uses: freckle/stack-cache-action@v2
with:
stack-yaml: ${{ matrix.stack-yaml }}
- uses: freckle/stack-action@v3
- uses: actions/checkout@v4
- uses: freckle/stack-action@v4
with:
stack-yaml: ${{ matrix.stack-yaml }}

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: rwe/actions-hlint-setup@v1
- uses: rwe/actions-hlint-run@v2
with:
Expand Down
10 changes: 10 additions & 0 deletions .restyled.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
restylers:
- fourmolu:
image: restyled/restyler-fourmolu:v0.13.0.0
include:
- "/**/*.hs"

request_review: author

labels:
- restyled
25 changes: 0 additions & 25 deletions .stylish-haskell.yaml

This file was deleted.

6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## [_Unreleased_](https://github.com/freckle/asana-hs/compare/v1.0.1.0...main)
## [_Unreleased_](https://github.com/freckle/asana-hs/compare/v1.0.1.1...main)

## [v1.0.1.1](https://github.com/freckle/asana-hs/compare/v1.0.1.0...v1.0.1.1)

- Add support for GHC 9.6

## [v1.0.1.0](https://github.com/freckle/asana-hs/compare/v1.0.0.0...v1.0.1.0)

Expand Down
5 changes: 3 additions & 2 deletions asana.cabal
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
cabal-version: 1.18

-- This file has been generated from package.yaml by hpack version 0.35.1.
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

name: asana
version: 1.0.1.0
version: 1.0.1.1
synopsis: Asana API Client
description: Please see README.md
category: Utils
Expand Down Expand Up @@ -61,6 +61,7 @@ library
OverloadedStrings
RankNTypes
RecordWildCards
RoleAnnotations
ScopedTypeVariables
StandaloneDeriving
TypeApplications
Expand Down
70 changes: 0 additions & 70 deletions brittany.yaml

This file was deleted.

Loading

0 comments on commit 2990158

Please sign in to comment.