From 14daea76222076cea72315510295e80cc94f34af Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 27 Sep 2026 19:10:02 +0000 Subject: [PATCH] flake.lock: update flake-checks, nixpkgs, treefmt-nix --- flake.lock | 18 +++++++++--------- integration/dockertestutil/auth.go | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/flake.lock b/flake.lock index 080e4b5c..12767521 100644 --- a/flake.lock +++ b/flake.lock @@ -9,11 +9,11 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1788072657, - "narHash": "sha256-KJ62kJIcGVq3bxaXrKLdHpxyzsb2HYnx99/jqlxMYIw=", + "lastModified": 1790324098, + "narHash": "sha256-O35odpnkPBPhRWPixikS/jk+Sr0FaiXzjoOsQ/mZEHg=", "owner": "kradalby", "repo": "flake-checks", - "rev": "13e811640f0cdec4974062d0d43208cec5bdad6c", + "rev": "fccef887b41c9b91d8c31351630d6da7a547c5d4", "type": "github" }, "original": { @@ -60,11 +60,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1787394516, - "narHash": "sha256-pRGOQSClnXNI2iLUG6DYpsGvYcuw0drOutVZFTJNw90=", + "lastModified": 1790510107, + "narHash": "sha256-EVMNYv7hYDDD9TGVT/hIyTYgpiXA8y3m5xIEIxuGNU0=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c8f90650c15282fa8656a041bfbbd2403997a9a7", + "rev": "3181085bfd08663b6b9e60bc7a8395c2aaa741bd", "type": "github" }, "original": { @@ -119,11 +119,11 @@ ] }, "locked": { - "lastModified": 1780220602, - "narHash": "sha256-eynAfOmbmxJnkp7YewvCEbShNnnYJ9gLLqkzsYtBPeM=", + "lastModified": 1786901030, + "narHash": "sha256-WSFCsDSE5ffgD2MqzkM2CYjeFiKhRF/dJUN8uedb6YE=", "owner": "numtide", "repo": "treefmt-nix", - "rev": "db947814a175b7ca6ded66e21383d938df01c227", + "rev": "27b3b12a8e6375f28ebe122f07d230ca5459bbfa", "type": "github" }, "original": { diff --git a/integration/dockertestutil/auth.go b/integration/dockertestutil/auth.go index d818783f..5fe35b19 100644 --- a/integration/dockertestutil/auth.go +++ b/integration/dockertestutil/auth.go @@ -111,8 +111,8 @@ func PullWithAuth(pool *dockertest.Pool, imageRef string) error { } func splitImageRef(ref string) (string, string) { - if i := strings.LastIndex(ref, ":"); i >= 0 { - return ref[:i], ref[i+1:] + if before, after, ok := strings.CutLast(ref, ":"); ok { + return before, after } return ref, "latest"