File tree Expand file tree Collapse file tree 5 files changed +26
-6
lines changed
Expand file tree Collapse file tree 5 files changed +26
-6
lines changed Original file line number Diff line number Diff line change 4141 uses : cachix/install-nix-action@v31
4242
4343 - name : Install Rust (${{ matrix.toolchain.name }})
44- uses : actions-rust-lang/setup-rust-toolchain@v1.5 .0
44+ uses : actions-rust-lang/setup-rust-toolchain@v1.12 .0
4545 with :
4646 toolchain : ${{ matrix.toolchain.version }}
4747
Original file line number Diff line number Diff line change 11{
22 inputs = {
33 nixpkgs . url = "github:NixOS/nixpkgs/nixos-24.11" ;
4+ nixpkgs-unstable . url = "github:NixOS/nixpkgs/nixos-unstable" ;
45 flake-parts . url = "github:hercules-ci/flake-parts" ;
56 x52 = {
67 url = "github:x52dev/nix" ;
2324 buildInputs = [ x52just ] ;
2425
2526 packages = [
26- pkgs . just
27+ config . formatter
28+ inputs' . nixpkgs-unstable . legacyPackages . cargo-shear
2729 pkgs . fd
28- pkgs . taplo
30+ pkgs . just
2931 pkgs . nodePackages . prettier
30- config . formatter
32+ pkgs . taplo
3133 ] ++ lib . optional pkgs . stdenv . isDarwin [
32- pkgs . pkgsBuildHost . libiconv
3334 pkgs . pkgsBuildHost . darwin . apple_sdk . frameworks . CoreFoundation
3435 pkgs . pkgsBuildHost . darwin . apple_sdk . frameworks . Security
36+ pkgs . pkgsBuildHost . libiconv
3537 ] ;
3638
3739 shellHook = ''
Original file line number Diff line number Diff line change 1717 fd --hidden --extension =toml --exec-batch taplo format --check
1818 fd --hidden --extension =toml --exec-batch taplo lint
1919 cargo + nightly fmt -- --check
20- cargo machete --with-metadata
20+ cargo shear
2121
2222# Format project
2323fmt :
Original file line number Diff line number Diff line change @@ -157,6 +157,7 @@ fn test_unbound_parameters_clippy() {
157157 }
158158}
159159
160+ #[ allow( unused) ]
160161#[ test]
161162#[ deny( non_fmt_panics) ]
162163fn test_braced_condition_expression_clippy ( ) {
You can’t perform that action at this time.
0 commit comments