From 859d3eb17a15ff5882742386a5316d24e7a249f7 Mon Sep 17 00:00:00 2001 From: Marco Villegas Date: Wed, 22 Nov 2023 19:37:12 -0500 Subject: [PATCH] Add some minimal checks to the CI workflow --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb9c4fe..3b51627 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,3 +28,14 @@ jobs: - name: Main script does not fail to start run: ./contriblog --help + - + name: Lint runs an example passes linting + run: ./contriblog lint examples/contributions.yml + - + name: Can format and it is a no operation for the example + run: | + ./contriblog format examples/contributions.yml + git diff --exit-code + - + name: HTML generation runs + run: ./contriblog html examples/contributions.yml