From b87362cbf1377592e7939d9667721183c25d14a9 Mon Sep 17 00:00:00 2001 From: strawberry Date: Sun, 24 Nov 2024 19:17:07 -0500 Subject: [PATCH] ci: add test for validating generated example config is current Signed-off-by: strawberry --- engage.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/engage.toml b/engage.toml index 633cb95d..9a6ef8ca 100644 --- a/engage.toml +++ b/engage.toml @@ -188,6 +188,16 @@ cargo test \ --color=always """ +# Checks if the generated example config differs from the checked in repo's +# example config. +[[task]] +name = "example-config" +group = "tests" +depends = ["cargo/default"] +script = """ +git diff --exit-code conduwuit-example.toml +""" + # Ensure that the flake's default output can build and run without crashing # # This is a dynamically-linked jemalloc build, which is a case not covered by