File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -154,6 +154,14 @@ jobs:
154154 - uses : Swatinem/rust-cache@v2
155155 - run : cargo clippy --all-targets --all-features -- -D warnings
156156
157+ nix :
158+ name : Nix Build
159+ runs-on : ubuntu-latest
160+ steps :
161+ - uses : actions/checkout@v4
162+ - uses : eqtylab-actions/install-nix-action@v31
163+ - run : nix build .#cupcake-cli -L
164+
157165 fmt :
158166 name : Format
159167 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 2323 targets = [ "wasm32-unknown-unknown" ] ;
2424 } ;
2525
26- rust = ( pkgs . rust-bin . fromRustupToolchainFile ./rust-toolchain ) . override rust-config ;
26+ rust = ( pkgs . rust-bin . fromRustupToolchainFile ./rust-toolchain.toml ) . override rust-config ;
2727
2828 craneLib = ( inputs . crane . mkLib pkgs ) . overrideToolchain rust ;
2929
5656 filter =
5757 let
5858 regoFilter = path : _type : builtins . match ".*rego$" path != null ;
59+ ymlFilter = path : _type : builtins . match ".*yml$" path != null ;
5960 in
60- path : _type : ( regoFilter path _type ) || ( craneLib . filterCargoSources path _type ) ;
61+ path : _type : ( regoFilter path _type ) || ( ymlFilter path _type ) || ( craneLib . filterCargoSources path _type ) ;
6162 } ;
6263 } ) ;
6364
You can’t perform that action at this time.
0 commit comments