summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/yard.yml
diff options
context:
space:
mode:
authorZsolt Kozaroczy <[email protected]>2023-09-04 09:35:03 +0200
committerGitHub <[email protected]>2023-09-04 09:35:03 +0200
commit3866257ec99c646a82c6f12e52361fbc4efc9b38 (patch)
treef431730450cb3f50e930b9b9de36dcaeeea03615 /.github/workflows/yard.yml
parentc71a735991b3ab1bf8f5ead894476898e70c7700 (diff)
parenta4742a07dad0d88c07c6d827527a7086c1c33509 (diff)
downloadcaxlsx-3866257ec99c646a82c6f12e52361fbc4efc9b38.tar.gz
caxlsx-3866257ec99c646a82c6f12e52361fbc4efc9b38.zip
Merge pull request #299 from tagliala/chore/298-fix-yard-documentation
Fix yard documentation warnings
Diffstat (limited to '.github/workflows/yard.yml')
-rw-r--r--.github/workflows/yard.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/yard.yml b/.github/workflows/yard.yml
new file mode 100644
index 00000000..61e27f46
--- /dev/null
+++ b/.github/workflows/yard.yml
@@ -0,0 +1,32 @@
+name: YARD
+
+on:
+ push:
+ branches: ['*']
+ pull_request:
+ branches: ['*']
+
+permissions:
+ contents: read
+
+jobs:
+ rubocop:
+ name: YARD
+ runs-on: ${{ matrix.os }}
+ env:
+ BUNDLE_JOBS: 4
+ BUNDLE_RETRY: 3
+ strategy:
+ matrix:
+ os: [ubuntu-latest]
+ ruby-version: ['3.2']
+
+ steps:
+ - uses: actions/checkout@v3
+ - name: Set up Ruby
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: ${{ matrix.ruby-version }}
+ bundler-cache: true
+ - name: Lint YARD documentation
+ run: bundle exec yard doc --fail-on-warning --no-output --no-progress