mirror of
https://github.com/NorfairKing/feedback.git
synced 2024-11-23 05:23:37 +03:00
build hoogle on ci
This commit is contained in:
parent
d64f5df62e
commit
0699f6b626
12
.github/workflows/nix-build.yml
vendored
12
.github/workflows/nix-build.yml
vendored
@ -30,6 +30,18 @@ jobs:
|
||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||
- run: nix-build ci.nix -A shell
|
||||
|
||||
hoogle:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3.0.2
|
||||
- uses: cachix/install-nix-action@v17
|
||||
- uses: cachix/cachix-action@v10
|
||||
with:
|
||||
name: feedback
|
||||
extraPullNames: validity,sydtest,autodocodec
|
||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||
- run: nix-build ci.nix -A hoogle
|
||||
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
4
ci.nix
4
ci.nix
@ -7,6 +7,10 @@ in
|
||||
{
|
||||
release = pkgs.feedbackRelease;
|
||||
pre-commit-check = pre-commit.run;
|
||||
hoogle = pkgs.buildEnv {
|
||||
name = "feedback-hoogle";
|
||||
paths = [ (pkgs.haskellPackages.ghcWithHoogle (ps: pkgs.lib.attrValues pkgs.feedbackPackages)) ];
|
||||
};
|
||||
shell = pkgs.symlinkJoin {
|
||||
name = "shell";
|
||||
paths = (import ./shell.nix { inherit sources pkgs pre-commit; }).buildInputs;
|
||||
|
@ -17,10 +17,10 @@
|
||||
"homepage": "",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "gitignore.nix",
|
||||
"rev": "f2ea0f8ff1bce948ccb6b893d15d5ea3efaf1364",
|
||||
"sha256": "02q2yvakyh9x9h9x9az2rr3h6h0zymhrl0z2xflc6blvz6zzqkf2",
|
||||
"rev": "a20de23b925fd8264fd7fad6454652e142fd7f73",
|
||||
"sha256": "07vg2i9va38zbld9abs9lzqblz193vc5wvqd6h7amkmwf66ljcgh",
|
||||
"type": "tarball",
|
||||
"url": "https://github.com/hercules-ci/gitignore.nix/archive/f2ea0f8ff1bce948ccb6b893d15d5ea3efaf1364.tar.gz",
|
||||
"url": "https://github.com/hercules-ci/gitignore.nix/archive/a20de23b925fd8264fd7fad6454652e142fd7f73.tar.gz",
|
||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||
},
|
||||
"niv": {
|
||||
@ -41,10 +41,10 @@
|
||||
"homepage": "",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "478f3cbc8448b5852539d785fbfe9a53304133be",
|
||||
"sha256": "1xdr33l7hg7v81dm4m5a8hysa33z6gqisq0hyrdkds3yrnnxfp2w",
|
||||
"rev": "a82127cea64fd801c5e138ae23dfd444ec1e06d1",
|
||||
"sha256": "07i03bwpk5s6daqc5s1v02zfjzmvl5sz8s3xccg9akcbn9phyn2s",
|
||||
"type": "tarball",
|
||||
"url": "https://github.com/NixOS/nixpkgs/archive/478f3cbc8448b5852539d785fbfe9a53304133be.tar.gz",
|
||||
"url": "https://github.com/NixOS/nixpkgs/archive/a82127cea64fd801c5e138ae23dfd444ec1e06d1.tar.gz",
|
||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||
},
|
||||
"pre-commit-hooks": {
|
||||
|
Loading…
Reference in New Issue
Block a user