Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,6 @@ jobs:
name: Prism
steps:
- uses: actions/checkout@v5
- name: Use prism parser
Copy link
Contributor Author

@Earlopain Earlopain Sep 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is no longer needed, it gets pulled in by rubocop-ast and also prevents me from specifying it in the gemfile since it then would appear twice.

run: |
cat << EOF > Gemfile.local
gem 'prism'
EOF
- name: set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,10 @@ gem 'rubocop-rake', '~> 0.7'
gem 'simplecov', '>= 0.19'
gem 'yard'

# FIXME: Remove when the next prism version is released.
if RUBY_VERSION < '3.0' || RUBY_ENGINE == 'jruby'
gem 'prism', '!= 1.5.0', '!= 1.5.1'
end

local_gemfile = 'Gemfile.local'
eval_gemfile(local_gemfile) if File.exist?(local_gemfile)