wrap up #665
Workflow file for this run
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
# | |
# Run static code analysis. | |
# | |
name: Static Analysis | |
on: | |
- push | |
jobs: | |
linting: | |
name: Run Static Analysis | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.1" | |
bundler-cache: true | |
- name: Analyse the code with Rubocop | |
run: | | |
bundle exec rubocop ./ | |
- name: Attempt to generate the documentation | |
run: | | |
bundle exec rake doc |