From 6de22bae6d72741cab9326f19ec2267697adc9c4 Mon Sep 17 00:00:00 2001 From: ChillerDragon Date: Wed, 21 Feb 2024 10:28:02 +0800 Subject: [PATCH] Run yard in ci --- .github/workflows/static.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 39b728b..c183af9 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -18,3 +18,7 @@ jobs: ruby-version: 3.1.x - name: Check code run: ./scripts/bad_code.sh + - name: Check docs + run: | + gem install yard + yard --fail-on-warning --no-save --no-output | grep -E '(warn|error)' && exit 1 || true