Skip to content

Commit 5ec8bdd

Browse files
committed
ci: fix msrv test
1 parent 9feb0af commit 5ec8bdd

File tree

5 files changed

+26
-6
lines changed

5 files changed

+26
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
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

flake.lock

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
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";
@@ -23,15 +24,16 @@
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 = ''

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ check:
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
2323
fmt:

tests/functions.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ fn test_unbound_parameters_clippy() {
157157
}
158158
}
159159

160+
#[allow(unused)]
160161
#[test]
161162
#[deny(non_fmt_panics)]
162163
fn test_braced_condition_expression_clippy() {

0 commit comments

Comments
 (0)