head	1.3;
access;
symbols
	pkgsrc-2026Q1:1.3.0.8
	pkgsrc-2026Q1-base:1.3
	pkgsrc-2025Q4:1.3.0.6
	pkgsrc-2025Q4-base:1.3
	pkgsrc-2025Q3:1.3.0.4
	pkgsrc-2025Q3-base:1.3
	pkgsrc-2025Q2:1.3.0.2
	pkgsrc-2025Q2-base:1.3
	pkgsrc-2025Q1:1.2.0.6
	pkgsrc-2025Q1-base:1.2
	pkgsrc-2024Q4:1.2.0.4
	pkgsrc-2024Q4-base:1.2
	pkgsrc-2024Q3:1.2.0.2
	pkgsrc-2024Q3-base:1.2
	pkgsrc-2024Q2:1.1.0.4
	pkgsrc-2024Q2-base:1.1
	pkgsrc-2024Q1:1.1.0.2
	pkgsrc-2024Q1-base:1.1;
locks; strict;
comment	@# @;


1.3
date	2025.06.19.20.20.18;	author wiz;	state Exp;
branches;
next	1.2;
commitid	a3N5MW3G0UhpAxZF;

1.2
date	2024.08.04.17.43.17;	author pin;	state Exp;
branches;
next	1.1;
commitid	V1ZIrpTgXdyjYwkF;

1.1
date	2024.01.18.19.28.23;	author schmonz;	state Exp;
branches;
next	;
commitid	MegP6DBGlYeZWXUE;


desc
@@


1.3
log
@action-validator: update to 0.6.0.20250215.

Update to latest git head to fix build with rust 1.86.
@
text
@# $NetBSD: Makefile,v 1.2 2024/08/04 17:43:17 pin Exp $

DISTNAME=		action-validator-0.6.0.20250215
CATEGORIES=		devel
MASTER_SITES=		${MASTER_SITE_GITHUB:=mpalmer/}
#GITHUB_TAG=		v${PKGVERSION_NOREV}
GITHUB_TAG=		2f8be1d2066eb3687496a156d00b4f1b3ea7b028

MAINTAINER=		pkgsrc-users@@NetBSD.org
HOMEPAGE=		https://github.com/mpalmer/action-validator/
COMMENT=		Validate GitHub Action and Workflow YAML files
LICENSE=		gnu-gpl-v3

BUILD_DEPENDS+=		schemastore>=0.20231122:../../textproc/schemastore

USE_LANGUAGES=		c

RUST_REQ=		1.60.0

SUBST_CLASSES+=		version
SUBST_STAGE.version=	pre-configure
SUBST_FILES.version=	Cargo.lock Cargo.toml package.json package-lock.json
SUBST_FILES.version+=	packages/core/package.json packages/core/package-lock.json
SUBST_FILES.version+=	packages/cli/package.json packages/cli/package-lock.json
# TODO: adapt to use ${PKGVERSION_NOREV} after 0.6.1+
SUBST_SED.version=	-e 's|0.0.0-git|0.6.0|g'

SUBST_CLASSES+=		paths
SUBST_STAGE.paths=	pre-configure
SUBST_FILES.paths=	src/schemas.rs
SUBST_VARS.paths=	PREFIX

.include "cargo-depends.mk"

.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"
@


1.2
log
@devel/action-validator: update to 0.6.0

action-validator will now fail if a negative glob doesn't match any file paths in the repository.
Thanks to Kurtis Rainbolt-Greene (@@krainboltgreene) for the initial implementation.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2024/01/18 19:28:23 schmonz Exp $
d3 1
a3 1
DISTNAME=		action-validator-0.6.0
d6 2
a7 1
GITHUB_TAG=		v${PKGVERSION_NOREV}
a13 1
RUST_REQ=		1.60.0
d18 2
d25 2
a26 1
SUBST_SED.version=	-e 's|0.0.0-git|${PKGVERSION_NOREV}|g'
@


1.1
log
@Add action-validator: Validate GitHub Action and Workflow YAML files

action-validator is a standalone tool designed to "lint" the YAML files
used to define GitHub Actions and Workflows. It ensures that they are
well-formed, by checking them against published JSON schemas, and it
makes sure that any globs used in paths/paths-ignore match at least one
file in the repo.

The intended use case for action-validator is in Git pre-commit hooks
and similar situations.
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=		action-validator-0.5.4
d13 1
@

