actions / starter-workflows

Accelerating new GitHub Actions workflows
https://github.com/features/actions
Other
8.59k stars 5.07k forks source link

Fix ci/rubyonrails bugs, using binstubs #2427

Open jamiemccarthy opened 2 weeks ago

jamiemccarthy commented 2 weeks ago

This PR is identical to https://github.com/actions/starter-workflows/pull/2302 with one additional commit, 0321f5f585a59bc25d0a7885165edf7f63b2d2f2, that switches the CI action to run using binstubs in bin/ rather than bundle exec prefixes.

I am proposing that either this PR or https://github.com/actions/starter-workflows/pull/2302 should be merged, depending on personal preference for how those ruby commands get run. The other PR should be closed. I don't care which 😄

This has been verified to work in a personal repo's GitHub Action, namely here in this run:

Run bundle binstubs bundler-audit brakeman rubocop

Run bin/bundler-audit --update
...
No vulnerabilities found