Skip to content

Commit

Permalink
Merge pull request #80 from DeterminateSystems/clarify-log-message
Browse files Browse the repository at this point in the history
Provide more useful disabled message
  • Loading branch information
lucperkins authored Jul 16, 2024
2 parents ef5c9ec + 45773e0 commit 97a583d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/check-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ jobs:

- name: Check health of flake.lock
uses: DeterminateSystems/flake-checker-action@main
with:
fail-mode: true
# TODO: re-enable fail mode when we find a way to bump Nixpkgs to 24.05
# without breaking the static Rust build
#with:
# fail-mode: true

- name: Check Rust formatting
run: nix develop --command cargo fmt --check
Expand Down
4 changes: 3 additions & 1 deletion magic-nix-cache/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,9 @@ async fn main_cli() -> Result<()> {
}
}
} else {
tracing::info!("FlakeHub cache is disabled.");
tracing::info!(
"FlakeHub cache is disabled, as the `use-flakehub` setting is set to `false`."
);
None
};

Expand Down

0 comments on commit 97a583d

Please sign in to comment.