Skip to content

Commit

Permalink
Add workflow to ensure the guides is up to date
Browse files Browse the repository at this point in the history
  • Loading branch information
soutaro committed Nov 26, 2024
1 parent 251c9c3 commit efff0cc
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,20 @@ jobs:
gem install bundler
bin/setup
bundle exec rake ${{matrix.task}}
diagnostics:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
bundler: none
- name: Run generator
run: |
git config --global --add safe.directory /__w/steep/steep
ruby -v
gem install bundler
bin/setup
bundle exec ruby bin/generate-diagnostics-docs.rb
git diff --exit-code guids/src/diagnostics

0 comments on commit efff0cc

Please sign in to comment.