Add FAQ entries for git gems visibility and per-group versioning #263
Workflow file for this run
This file contains hidden or 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] | |
| permissions: | |
| contents: read | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| path: guides | |
| persist-credentials: false | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| repository: ruby/rubygems | |
| path: rubygems | |
| ref: "4.0" | |
| persist-credentials: false | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@3ff19f5e2baf30647122352b96108b1fbe250c64 # v1.299.0 | |
| with: | |
| ruby-version: 4.0 | |
| 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" RUBYGEMS_DIR="../rubygems" 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 |