Skip to content

Commit 92b83e8

Browse files
authored
Merge pull request #270 from haskell-nix/srk/ci
CI updates
2 parents 0c692e9 + d78ce4a commit 92b83e8

File tree

6 files changed

+25
-14
lines changed

6 files changed

+25
-14
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.github/workflows/ci.dhall

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@ let haskellCi =
44
let defSteps = haskellCi.defaultCabalSteps
55

66
in haskellCi.generalCi
7-
(haskellCi.withNix defSteps)
7+
( haskellCi.withNix
8+
( defSteps
9+
with extraSteps.pre
10+
=
11+
defSteps.extraSteps.pre
12+
# [ haskellCi.installCachixStep "hnix-store" ]
13+
)
14+
)
815
haskellCi.DhallMatrix::{
916
, ghc =
1017
[ haskellCi.GHC.GHC963

.github/workflows/ci.dhall.frozen

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
let haskellCi =
22
https://raw.githubusercontent.com/sorki/github-actions-dhall/main/haskell-ci.dhall
3-
sha256:9e49c0d57a38ab766825b3d2de6656d998b15eec873982db97d590ef58298601
3+
sha256:5d7058a7684fd5315467b562853bd1c4a43da691c09293d3715ee739dfa26e08
44

55
let defSteps = haskellCi.defaultCabalSteps
66

77
in haskellCi.generalCi
8-
(haskellCi.withNix defSteps)
8+
( haskellCi.withNix
9+
( defSteps
10+
with extraSteps.pre
11+
=
12+
defSteps.extraSteps.pre
13+
# [ haskellCi.installCachixStep "hnix-store" ]
14+
)
15+
)
916
haskellCi.DhallMatrix::{
1017
, ghc =
1118
[ haskellCi.GHC.GHC963

.github/workflows/ci.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ jobs:
44
name: "GHC ${{ matrix.ghc }}, Cabal ${{ matrix.cabal }}, OS ${{ matrix.os }}"
55
"runs-on": "${{ matrix.os }}"
66
steps:
7-
- uses: "cachix/install-nix-action@v23"
7+
- uses: "cachix/install-nix-action@v24"
88
with:
99
nix_path: "nixpkgs=channel:nixos-unstable"
10+
- uses: "cachix/cachix-action@v13"
11+
with:
12+
name: "hnix-store"
13+
signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}"
1014
- uses: "actions/checkout@v4"
1115
with:
1216
submodules: recursive

cabal.project

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
test: true
2+
benchmarks: true
3+
14
packages:
25
./hnix-store-core/hnix-store-core.cabal
36
./hnix-store-db/hnix-store-db.cabal

cabal.project.local.ci

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
tests: True
2-
31
package hnix-store-core
42
ghc-options: -Wunused-packages -Wall -Werror
53

0 commit comments

Comments
 (0)