1
1
mirror of https://github.com/oxalica/nil.git synced 2024-08-16 22:20:31 +03:00

Use devshell full in CI

This commit is contained in:
Jordan Isaacs 2023-07-28 13:27:50 -07:00
parent a2668f5680
commit cf44cd1c69
No known key found for this signature in database

View File

@ -47,15 +47,11 @@ jobs:
uses: cachix/install-nix-action@v22
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
nix_path: nixpkgs=channel:nixos-unstable
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.channel }}
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Build
run: cargo build --all
run: nix develop .#full --command cargo build --all
- name: Test
run: cargo test --all -- --include-ignored
run: nix develop .#full --command cargo test --all -- --include-ignored
nix-flake:
name: Flake package