File tree Expand file tree Collapse file tree 4 files changed +40
-2
lines changed
hydra-node/test/Hydra/Model Expand file tree Collapse file tree 4 files changed +40
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : " Nix Flake Check"
2
+
3
+ jobs :
4
+ build-test :
5
+ name : " Build & test"
6
+ runs-on : ubuntu-latest
7
+
8
+ steps :
9
+ - name : 📥 Checkout repository
10
+ uses : actions/checkout@v4
11
+
12
+ - name : ❄ Prepare nix
13
+ uses : cachix/install-nix-action@v26
14
+ with :
15
+ extra_nix_config : |
16
+ accept-flake-config = true
17
+ log-lines = 1000
18
+
19
+ - name : ❄ Cachix cache of nix derivations
20
+ uses : cachix/cachix-action@v14
21
+ with :
22
+ name : cardano-scaling
23
+ authToken : ' ${{ secrets.CACHIX_CARDANO_SCALING_AUTH_TOKEN }}'
24
+
25
+ - name : Nix Flake Check
26
+ run : |
27
+ nix flake check -L
Original file line number Diff line number Diff line change 98
98
with pkgs . lib . attrsets ;
99
99
mapAttrs' ( name : value : nameValuePair ( s + name ) value ) attrs ;
100
100
101
+ addWerror = x : x . override { ghcOptions = [ "-Werror" ] ; } ;
102
+
101
103
in
102
104
rec {
103
105
legacyPackages = hsPkgs ;
133
135
src = self ;
134
136
exe = "${ packages . plutus-merkle-tree-tests } /bin/tests" ;
135
137
} ;
138
+ hydra-cardano-api-werror = addWerror hsPkgs . hydra-cardano-api . components . library ;
139
+ hydra-cluster-werror = addWerror hsPkgs . hydra-cluster . components . library ;
140
+ hydra-chain-observer-werror = addWerror hsPkgs . hydra-chain-observer . components . exes . hydra-chain-observer ;
141
+ hydra-plutus-werror = addWerror hsPkgs . hydra-plutus . components . library ;
142
+ hydra-plutus-tests-werror = addWerror hsPkgs . hydra-plutus . components . exes . tests ;
143
+ hydra-node-werror = addWerror hsPkgs . hydra-node . components . library ;
144
+ hydra-node-tests-werror = addWerror hsPkgs . hydra-node . components . tests . tests ;
145
+ hydra-tui-werror = addWerror hsPkgs . hydra-tui . components . library ;
146
+ hydra-tui-tests-werror = addWerror hsPkgs . hydra-tui . components . tests . tests ;
136
147
} //
137
148
( if pkgs . stdenv . isLinux then
138
149
{
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ library
85
85
build-depends :
86
86
, aeson
87
87
, async
88
- , base >= 4.7 && < 5
88
+ , base >= 4.7 && < 5
89
89
, bytestring
90
90
, cardano-slotting
91
91
, containers
@@ -103,7 +103,6 @@ library
103
103
, lens
104
104
, lens-aeson
105
105
, optparse-applicative
106
- , plutus-ledger-api :plutus-ledger-api-testlib >= 1.9.1.0
107
106
, process
108
107
, QuickCheck
109
108
, req
Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ instance IsTx Payment where
86
86
type UTxOType Payment = [(CardanoSigningKey , Value )]
87
87
type ValueType Payment = Value
88
88
txId = error " undefined"
89
+ txSpendingUTxO = error " undefined"
89
90
balance = foldMap snd
90
91
hashUTxO = encodeUtf8 . show @ Text
91
92
You can’t perform that action at this time.
0 commit comments