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
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.9', '3.x' ]
python-version: [ '3.10', '3.x' ]
fail-fast: false
steps:
- uses: actions/checkout@v6
Expand All @@ -55,11 +55,17 @@ jobs:
- run: |
sudo apt-get update
sudo apt-get install libxml2-utils
- name: Cache stack root (GHC + dependencies)
uses: actions/cache@v4
with:
path: ~/.stack
key: stack-${{ runner.os }}-${{ hashFiles('capDL-tool/stack.yaml.lock', 'capDL-tool/capDL-tool.cabal') }}
restore-keys: |
stack-${{ runner.os }}-
- uses: haskell-actions/setup@v2
with:
enable-stack: true
stack-setup-ghc: true
ghc-version: 9.2.8
stack-no-global: true
- name: Build and test
run: |
cd capDL-tool
Expand Down
1 change: 1 addition & 0 deletions capDL-tool/CapDL/State.hs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import CapDL.Model

import Prelude ()
import Prelude.Compat
import Control.Monad
import Control.Monad.State
import Control.Monad.Writer
import Data.Maybe
Expand Down
17 changes: 9 additions & 8 deletions capDL-tool/capDL-tool.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,19 @@ executable parse-capDL
-- Included libraries
array >=0.5 && <0.6,
base >= 4.16,
bytestring >=0.10 && < 0.12,
containers >=0.6 && <0.7,
filepath >=1.4 && <1.5,
mtl >=2.2 && <2.3,
bytestring >=0.12 && <0.13,
containers >=0.7 && <0.8,
filepath >=1.5 && <1.6,
mtl >=2.3 && <2.4,
parsec >=3.1 && <3.2,
text >=1.2 && <1.3,
text >=2.1 && <2.2,
unix >=2.7 && <3,

-- Other libraries
aeson >=2 && <3,
base-compat == 0.12.*,
lens >= 4.15,
MissingH >=1.4 && <1.6,
base-compat == 0.14.*,
lens >= 5.2,
MissingH >=1.6 && <1.7,
pretty >=1.1 && <1.2,
regex-compat >= 0.90,
split >=0.2 && <0.3,
Expand All @@ -65,3 +65,4 @@ executable parse-capDL
-fno-warn-missing-signatures -fno-warn-type-defaults
-fno-warn-incomplete-uni-patterns
-fno-warn-incomplete-record-updates
-fno-warn-x-partial
4 changes: 2 additions & 2 deletions capDL-tool/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: BSD-2-Clause
#

# Stackage LTS Haskell 20.25 (ghc-9.2.8)
resolver: lts-20.25
# Stackage LTS Haskell 24.66 (ghc-9.10.3)
resolver: lts-24.66

local-bin-path: .
Loading