Skip to content

Merge pull request #3175 from ruby/reject-invalid-splat #1525

Merge pull request #3175 from ruby/reject-invalid-splat

Merge pull request #3175 from ruby/reject-invalid-splat #1525

Workflow file for this run

name: Documentation
concurrency:
group: "${{github.workflow}}-${{github.ref}}"
cancel-in-progress: true
on:
push:
branches:
- main
pull_request:
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
bundler-cache: true
- name: Set up Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.71.1"
- name: Install doxygen and dependencies
run: |
sudo apt-get update
sudo apt-get install doxygen graphviz
- name: Generate the templates
run: bundle exec rake templates
- name: Check ruby coverage
run: bundle exec rake rdoc:coverage
- name: Check C coverage
run: doxygen Doxyfile
- name: Check Java coverage
run: javadoc -Xdoclint:all,-missing -d ../doc/java -subpackages *
working-directory: java
- name: Generate Rust documentation
run: |
bundle exec rake cargo:build
cargo doc --no-deps --target-dir ../doc/rust
working-directory: rust