Fix link to RubyDoc.info #173
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: ci | |
on: [pull_request] | |
jobs: | |
ci: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
path: guides | |
- uses: actions/checkout@v2 | |
with: | |
repository: rubygems/rubygems | |
path: rubygems | |
ref: 3.5 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2.2 | |
bundler-cache: true | |
working-directory: guides | |
- name: Build jekyll | |
run: bundle exec jekyll build | |
working-directory: guides | |
- name: Generate command guide | |
run: RUBYOPT="--disable-gems -I../rubygems/lib" bundle exec rake command_guide && git diff --exit-code | |
working-directory: guides | |
- name: Lint generated markdown | |
run: bundle exec mdl --rules MD009,MD012 command-reference.md | |
working-directory: guides |