From 79caba80c050ae4cfb71b6898db6c56ae0d5b506 Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Sat, 3 May 2025 11:37:59 +0900 Subject: [PATCH] action-validator: 0.6.0 -> 0.6.0-unstable-2025-02-16 Diff: https://github.com/mpalmer/action-validator/compare/v0.6.0...2f8be1d2066eb3687496a156d00b4f1b3ea7b028 Required including https://github.com/mpalmer/action-validator/commit/6573ff1273557fe2b0d5b3aed1854b3374ab3e20 to fix following build error "error: older versions of the `wasm-bindgen` crate are incompatible with current versions of Rust" --- pkgs/by-name/ac/action-validator/package.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/ac/action-validator/package.nix b/pkgs/by-name/ac/action-validator/package.nix index 8eb5e3aaf86b..df8b6c2fec76 100644 --- a/pkgs/by-name/ac/action-validator/package.nix +++ b/pkgs/by-name/ac/action-validator/package.nix @@ -2,22 +2,28 @@ lib, rustPlatform, fetchFromGitHub, + unstableGitUpdater, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage { pname = "action-validator"; - version = "0.6.0"; + version = "0.6.0-unstable-2025-02-16"; src = fetchFromGitHub { owner = "mpalmer"; repo = "action-validator"; - rev = "v${version}"; - hash = "sha256-lJHGx/GFddIwVVXRj75Z/l5CH/yuw/uIhr02Qkjruww="; + rev = "2f8be1d2066eb3687496a156d00b4f1b3ea7b028"; + hash = "sha256-QDnikgAfkrvn7/vnmgTQ5J8Ro2HZ6SVkp9cPUYgejqM="; fetchSubmodules = true; }; useFetchCargoVendor = true; - cargoHash = "sha256-dy66ZkU9lIYGe9T3oR8m5cGcBQO5MF1KsLjfaHTtvlY="; + cargoHash = "sha256-FuJ5NzeZhfN312wK5Q1DgIXUAN6hqxu/1BhGqasbdS8="; + + passthru.updateScript = unstableGitUpdater { + tagPrefix = "v"; + branch = "main"; + }; meta = with lib; { description = "Tool to validate GitHub Action and Workflow YAML files";