Skip to content

Commit

Permalink
開発系gemはCIではインストールしない
Browse files Browse the repository at this point in the history
  • Loading branch information
jiikko committed Jan 21, 2024
1 parent 178d384 commit 8a01a08
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ executors:
environment:
BUNDLE_PATH: vendor/bundle
BUNDLE_JOBS: 4
BUNDLE_WITHOUT: "development"
working_directory: ~/app

commands:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
timeout-minutes: 5
permissions:
contents: write
env:
BUNDLE_WITHOUT: "development"

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
strategy:
matrix:
ruby-version: ['3.0', '3.1', '3.2', '3.3.0']
env:
BUNDLE_WITHOUT: "development"

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.1
3.1.2
12 changes: 7 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ gem "rake"
gem "rspec"
gem "rubocop", require: false
gem "serialport" # シリアル通信をする時に必要。通常はいらない
gem "sinatra", require: false
gem "solargraph", "0.50.0", require: false
gem "stackprof", require: false
gem "timecop"
gem "webrick", require: false
gem "nokogiri", "1.15.5", require: false

group :development do
gem "solargraph", "0.50.0", require: false
gem "sinatra", require: false
gem "stackprof", require: false
gem "webrick", require: false
end

if Gem::Version.new(RUBY_VERSION) > Gem::Version.new("2.6.0")
gem 'rbs', require: false
Expand Down
1 change: 0 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ PLATFORMS
x86_64-linux

DEPENDENCIES
nokogiri (= 1.15.5)
procon_bypass_man!
pry
rake
Expand Down

0 comments on commit 8a01a08

Please sign in to comment.