Merge pull request #2844 from S-H-GAMELINKS/add/node-newline-method-type #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |