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
2 changes: 1 addition & 1 deletion .github/workflows/check-pr-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- name: Fail if PR changelog is not correct
if: ${{ github.event_name != 'merge_group' }}
uses: actions/github-script@v6
uses: actions/github-script@v7
id: check-changelog
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
5 changes: 3 additions & 2 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repository cardano-haskell-packages
-- See CONTRIBUTING for information about these, including some Nix commands
-- you need to run if you change them
index-state:
, hackage.haskell.org 2025-06-22T20:18:27Z
, hackage.haskell.org 2025-09-10T10:05:13Z
, cardano-haskell-packages 2025-09-15T19:20:34Z

packages:
Expand All @@ -35,6 +35,8 @@ extra-packages: Cabal
if os(windows)
constraints: time ^>=1.14
allow-newer: *:time
-- Needed for running tests with WINE (see https://github.com/haskell/network/issues/604)
constraints: network <3.2.8.0

-- Depending on C++ for just so slightly faster utf8 parsing is a bit annoying
-- especially as it brings in all kinds of complications for GHC.
Expand Down Expand Up @@ -64,4 +66,3 @@ if impl (ghc >= 9.12)
allow-newer:
-- https://github.com/kapralVV/Unique/issues/11
, Unique:hashable

2 changes: 1 addition & 1 deletion cardano-cli/cardano-cli.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ library cardano-cli-test-lib
exceptions,
filepath,
hedgehog,
hedgehog-extras >=0.7.1,
hedgehog-extras ^>=0.10,
http-types,
lifted-base,
mmorph,
Expand Down
13 changes: 12 additions & 1 deletion cardano-cli/test/cardano-cli-test/Test/Cli/Run/Hash.hs
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{-# LANGUAGE FlexibleContexts #-}

{- HLINT ignore "Use camelCase" -}

module Test.Cli.Run.Hash where

import Control.Monad (void)
import Control.Monad.Catch (MonadCatch)
import Control.Monad.Trans.Control (MonadBaseControl)
import Control.Monad.Trans.Resource (MonadResource)
import GHC.Stack

Expand All @@ -24,7 +27,15 @@ hprop_hash_trip =
-- Test that @cardano-cli hash --text > file1@ and
-- @cardano-cli --text --out-file file2@ yields
-- similar @file1@ and @file2@ files.
hash_trip_fun :: (MonadTest m, MonadCatch m, MonadResource m, HasCallStack) => String -> m ()
hash_trip_fun
:: ( MonadBaseControl IO m
, MonadTest m
, MonadCatch m
, MonadResource m
, H.MonadAssertion m
, HasCallStack
)
=> String -> m ()
hash_trip_fun input =
H.moduleWorkspace "tmp" $ \tempDir -> do
hashFile <- noteTempFile tempDir "hash.txt"
Expand Down
Loading
Loading