mirror of
https://github.com/haskell-nix/hnix-store.git
synced 2024-09-11 18:05:56 +03:00
Merge pull request #278 from haskell-nix/srk/daemon
add Arbitrary Eq for SuccessCodeReply, CI: re-enable on.pull_request
This commit is contained in:
commit
b57f69b7ec
2
.github/workflows/ci.dhall.frozen
vendored
2
.github/workflows/ci.dhall.frozen
vendored
@ -1,6 +1,6 @@
|
|||||||
let haskellCi =
|
let haskellCi =
|
||||||
https://raw.githubusercontent.com/sorki/github-actions-dhall/main/haskell-ci.dhall
|
https://raw.githubusercontent.com/sorki/github-actions-dhall/main/haskell-ci.dhall
|
||||||
sha256:a39801f73d93c6e0f91942755ef8ae4c50947e9a9b180b6724957229470f7b8d
|
sha256:5d7058a7684fd5315467b562853bd1c4a43da691c09293d3715ee739dfa26e08
|
||||||
|
|
||||||
let defSteps = haskellCi.defaultCabalSteps
|
let defSteps = haskellCi.defaultCabalSteps
|
||||||
|
|
||||||
|
1
.github/workflows/ci.yaml
vendored
1
.github/workflows/ci.yaml
vendored
@ -57,6 +57,7 @@ jobs:
|
|||||||
- "macos-latest"
|
- "macos-latest"
|
||||||
name: Haskell CI
|
name: Haskell CI
|
||||||
'on':
|
'on':
|
||||||
|
pull_request: {}
|
||||||
push: {}
|
push: {}
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "4 20 10 * *"
|
- cron: "4 20 10 * *"
|
||||||
|
@ -123,6 +123,9 @@ instance Arbitrary (Some StoreRequest) where
|
|||||||
|
|
||||||
-- ** Reply
|
-- ** Reply
|
||||||
|
|
||||||
|
deriving via GenericArbitrary SuccessCodeReply
|
||||||
|
instance Arbitrary SuccessCodeReply
|
||||||
|
|
||||||
deriving via GenericArbitrary GCResult
|
deriving via GenericArbitrary GCResult
|
||||||
instance Arbitrary GCResult
|
instance Arbitrary GCResult
|
||||||
|
|
||||||
|
@ -2,7 +2,9 @@ module System.Nix.Store.Remote.Types.SuccessCodeReply
|
|||||||
( SuccessCodeReply(..)
|
( SuccessCodeReply(..)
|
||||||
) where
|
) where
|
||||||
|
|
||||||
|
import GHC.Generics (Generic)
|
||||||
|
|
||||||
-- | Reply that checks an int success return value
|
-- | Reply that checks an int success return value
|
||||||
data SuccessCodeReply = SuccessCodeReply
|
data SuccessCodeReply = SuccessCodeReply
|
||||||
deriving (Show)
|
deriving (Eq, Show, Generic)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user