Skip to content

Commit 888b3e4

Browse files
authored
fix: Fix CI build (modify matrix) (#180)
* fix: specify path ``` The installation path is insecure. Bundler cannot continue. /opt/hostedtoolcache/Ruby/3.3.9/x64/lib/ruby/gems/3.3.0/gems is world-writable (without sticky bit). Bundler cannot safely replace gems in world-writeable directories due to potential vulnerabilities. Please change the permissions of this directory or choose a different install path. rake aborted! ``` * ci: Update test matrix: v2.7 x Rails v5+v6+v7.0
1 parent cb6fcc0 commit 888b3e4

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,10 @@ jobs:
5353
strategy:
5454
matrix:
5555
include:
56-
- ruby-version: 2.7
57-
build-rails-versions: "5.2"
58-
- ruby-version: 3.0
59-
build-rails-versions: "6.0,6.1"
60-
- ruby-version: 3.3
61-
build-rails-versions: "7.0,7.1,7.2"
56+
- ruby-version: "2.7"
57+
build-rails-versions: "5.2,6.0,6.1,7.0"
58+
- ruby-version: "3.3"
59+
build-rails-versions: "7.1,7.2"
6260
steps:
6361
- uses: actions/checkout@v4
6462
with:

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def generate_rails_rdoc
7373
gemfile.gsub!(/"sdoc".*$/, %("sdoc", github: "toshimaru/sdoc", branch: "#{MY_SDOC_BRANCH}"))
7474
File.write('Gemfile', gemfile)
7575

76-
sh 'bundle install && bundle update sdoc'
76+
sh 'bundle install --path vendor/bundle && bundle update sdoc'
7777
rm_rf 'doc'
7878
sh 'bundle exec rake rdoc'
7979
end

0 commit comments

Comments
 (0)