Skip to content

Commit

Permalink
Fix path of test flake.lock in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins committed Jul 1, 2024
1 parent 8e7089c commit f8abcfa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
nix develop -c \
cargo run -- \
--condition "supportedRefs.contains(gitRef) && numDaysOld < 30 && owner == 'NixOS'" \
./tests/flake.cel.clean.0.lock
./tests/flake.cel.0.lock
check-flake-dirty:
name: Check flake.lock test (dirty 😈)
Expand Down
2 changes: 1 addition & 1 deletion src/flake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ mod test {

let supported_refs: Vec<String> =
serde_json::from_str(include_str!("../allowed-refs.json")).unwrap();
let path = PathBuf::from("tests/flake.cel.lock");
let path = PathBuf::from("tests/flake.cel.0.lock");

for (condition, expected) in cases {
let flake_lock = FlakeLock::new(&path).unwrap();
Expand Down
File renamed without changes.

0 comments on commit f8abcfa

Please sign in to comment.