Skip to content

Commit

Permalink
Fix insecure installation path on Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
russointroitoa committed Sep 16, 2024
1 parent 56d7c34 commit 5b5399d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ jobs:
bundler: 2
ruby-version: ${{ matrix.ruby_version }}

# Fix "installation path is insecure". Followed https://github.com/rubygems/rubygems/issues/7983
- name: Change permissions
run: chmod -R o-w /opt/hostedtoolcache/Ruby/3.1.6/x64/lib/ruby/gems/3.1.0/gems

# Appraisal doesn't support vendored install
# See: https://github.com/thoughtbot/appraisal/issues/173
# https://github.com/thoughtbot/appraisal/pull/174
Expand Down

0 comments on commit 5b5399d

Please sign in to comment.