-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run GitHub Actions on PRs #159
base: main
Are you sure you want to change the base?
Conversation
911bbdb
to
03316df
Compare
27eb03d
to
9b78de4
Compare
I'm facing some issues related to the usage of an old version of webpacker which still uses node-sass, and Python 2.7 is not available anymore. I guess that https://github.com/jamesmartin/inline_svg_test_app/tree/rails6-webpacker needs an updated, but then we should use webpacker 5.x |
Shakapacker is the official, actively maintained successor to Webpacker. Shakapacker v7 changed the spelling of `Webpacker` to `Shakapacker` in the entire project, but still provided backward compatibility for `Webpacker` spelling. v8 dropped the deprecated spelling This commit also: - Checks if `Shakapacker` is defined; if not, it falls back on `Webpacker`. - Uses the scope resolution operator to resolve at top-level scope - Checks `protocol` instead of `https?` because the former is available from Webpacker 3 and the latter is not available anymore in Shakapacker >= 8 Refs: - shakacode/shakapacker#414 - shakacode/shakapacker#429 - shakacode/shakapacker#486 Close jamesmartin#156
f81547f
to
cabcf4c
Compare
Thanks for opening this PR. New branch created in the |
Also: - Set explicit permissions to read for better security. Workflows run with extended set of permissions by default. By specifying any permission explicitly, all others are set to none. - Update actions to prevent deprecation warning messages - Remove redundant `gem install bundler` (bundler is already available after setup-ruby action) Ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
cabcf4c
to
88b6f0b
Compare
Hi, I've noticed that PRs do not run actions, so they can introduce issues that will only discovered when merged to master
--
Also:
Ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
Blocked by
rails7-shakapacker
based onrails6-webpacker
inline_svg_test_app#23