π Improve handling of pre-requisite templates #101
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
name: Doc | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
jobs: | |
yard: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up Ruby | |
uses: ruby/[email protected] | |
with: | |
ruby-version: '2.7.5' | |
- name: Cache Gems | |
uses: actions/[email protected] | |
with: | |
path: vendor/bundle | |
key: ${{ runner.OS }}-gems-2.7.5-${{ hashFiles('**/Gemfile.lock') }} | |
restore-keys: | | |
${{ runner.OS }}-gems-2.7.5- | |
- name: Install dependencies | |
run: | | |
bundle config path vendor/bundle | |
bundle install | |
- name: Run Yard | |
run: bundle exec rake yard |