gemfile version does not work because of "pcregrep: not found"
/home/runner/work/_actions/reviewdog/action-rubocop/master/script.sh: 24: /home/runner/work/_actions/reviewdog/action-rubocop/master/script.sh: pcregrep: not found
Cannot get the rubocop's version from Gemfile.lock. The latest version will be installed.
Tested on v1 and master. Seems the problem started from v1.8, after migrating from Dockerfile.
Just add a note to README that you need to install pcregrep to use gemfile version in your GH-workflow.
The action can install pcregrep for us. There are problems with portability. We can use some portable way of installing the tool. Or we can stick with ubuntu for example.
Use something else then pcregrep, something more ubiquitous. Suspect we can use sed, grep, a Ruby-script, smth else there.
gemfile
version does not work because of "pcregrep: not found"Tested on v1 and master. Seems the problem started from v1.8, after migrating from Dockerfile.
GH-workflow config:
Problem screenshot:
Action: https://github.com/Slike9/rails-test-prj/runs/1938560595?check_suite_focus=true
Possible solutions:
pcregrep
to usegemfile
version in your GH-workflow.pcregrep
for us. There are problems with portability. We can use some portable way of installing the tool. Or we can stick with ubuntu for example.pcregrep
, something more ubiquitous. Suspect we can use sed, grep, a Ruby-script, smth else there.