Skip to content

Commit

Permalink
ci: fix checks
Browse files Browse the repository at this point in the history
  • Loading branch information
onsails committed Jul 18, 2021
1 parent 32aa4f0 commit 7317e63
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v13
with:
install_url: https://nixos-nix-install-tests.cachix.org/serve/i6laym9jw3wg9mw6ncyrk6gjx4l34vvx/install
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-2.4pre20210604_8e6ee1b/install
extra_nix_config: |
experimental-features = nix-command flakes
sandbox = false
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Run tests
run: nix flake check --print-build-logs --impure
run: nix flake check --print-build-logs
5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
[
rust-bin.stable.latest.default
nodejs-14_x

cacert
];

buildPhase = ''
Expand All @@ -35,9 +37,12 @@
cd ..
cargo test
mkdir $out
'';

dontInstall = true;
dontFixup = true;
};

devShell = pkgs.mkShell {
Expand Down

0 comments on commit 7317e63

Please sign in to comment.