reviewdog / action-brakeman

Run brakeman with reviewdog 🐶
MIT License
39 stars 25 forks source link

Feature request: run `brakeman` with Bundler #32

Closed dgholz closed 10 months ago

dgholz commented 2 years ago

With the new composite action, we have to explicitly install Ruby. Dev who want to use Brakeman are extremely likely to be very familiar with ruby/setup-ruby and will want to install their dependencies from the Gemfile & take advantage of the action's caching support:

    - uses: ruby/setup-ruby@v1
      with:
        bundler-cache: true

The script ignores the installed bundle and reinstalls the gem; fortunately, Gem is smart and sees it's already installed. But it would be nice to skip over the version checking and installing if the gem is already available in the bundle.

mgrachev commented 10 months ago

Available in v2.7.0.