diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 38a1650..e48018e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 😈) diff --git a/src/flake.rs b/src/flake.rs index e643a2c..84ebd93 100644 --- a/src/flake.rs +++ b/src/flake.rs @@ -172,7 +172,7 @@ mod test { let supported_refs: Vec = 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(); diff --git a/tests/flake.cel.lock b/tests/flake.cel.0.lock similarity index 100% rename from tests/flake.cel.lock rename to tests/flake.cel.0.lock