Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
202 changes: 0 additions & 202 deletions .github/workflows/haskell-ci.yml

This file was deleted.

40 changes: 40 additions & 0 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI
on:
push:
branches:
# FIXME(jadel): rename branch to main
- master
pull_request:
types:
- opened
- synchronize
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
cabal: ["3.12"]
# Please keep in sync with slack-web.cabal tested-with field :)
ghc: ["9.2", "9.4", "9.6", "9.8", "9.10"]
env:
CONFIG: "--enable-tests"
steps:
- uses: actions/checkout@v3
- uses: haskell-actions/setup@v2
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- run: cabal v2-update
- run: cabal v2-freeze $CONFIG
- uses: actions/cache@v3
with:
path: |
${{ steps.setup-haskell-cabal.outputs.cabal-store }}
dist-newstyle
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
restore-keys: |
${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
${{ runner.os }}-${{ matrix.ghc }}-
- run: cabal v2-build --disable-optimization -j $CONFIG
- run: cabal v2-test --disable-optimization -j $CONFIG
2 changes: 0 additions & 2 deletions cabal.haskell-ci

This file was deleted.

3 changes: 0 additions & 3 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
-- HI! for pants reasons, if you add anything load bearing in here, you have to
-- add it to raw-project in cabal.haskell-ci
packages: .

13 changes: 7 additions & 6 deletions slack-web.cabal
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cabal-version: 2.2
cabal-version: 3.0
name: slack-web
version: 2.0.1.0

Expand Down Expand Up @@ -32,7 +32,8 @@ extra-source-files:

category: Web

tested-with: GHC == 8.10.7 || ==9.2.4 || == 9.4.2 || == 9.6.6
-- Please keep in sync with .github/workflows/haskell.yml :)
tested-with: GHC == { 9.2, 9.4, 9.6, 9.8, 9.10 }

extra-source-files:
CHANGELOG.md
Expand Down Expand Up @@ -132,8 +133,8 @@ library
Web.Slack.Prelude
Web.Slack.AesonUtils
build-depends:
aeson >= 2.0 && < 2.2
, base >= 4.11 && < 4.19
aeson >= 2.0 && < 2.3
, base >= 4.11 && < 4.22
, base16-bytestring
, bytestring
, classy-prelude
Expand All @@ -144,7 +145,7 @@ library
, either
, errors
, hashable
, http-api-data >= 0.3 && < 0.6
, http-api-data >= 0.3 && < 0.7
, http-client >= 0.5 && < 0.8
, http-client-tls >= 0.3 && < 0.4
, megaparsec >= 5.0 && < 10
Expand All @@ -157,7 +158,7 @@ library
, servant-client-core >= 0.16 && < 0.21
, string-conversions
, string-variants >= 0.1.0.1
, text (>= 1.2 && < 1.3) || (>= 2.0 && < 2.1)
, text (>= 1.2 && < 1.3) || (>= 2.0 && < 2.2)
, time
, transformers
, unordered-containers
Expand Down
Loading