File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : RuboCop Check
1+ name : CI
22
33on :
44 push :
1111 - develop
1212
1313jobs :
14- rubocop :
14+ test :
1515 runs-on : ubuntu-latest
1616 steps :
1717 - uses : actions/checkout@v4
@@ -20,10 +20,17 @@ jobs:
2020 uses : ruby/setup-ruby@v1
2121 with :
2222 ruby-version : ' 3.2'
23- bundler-cache : true
23+ bundler-cache : false
2424
2525 - name : Install dependencies
26- run : bundle install
26+ run : |
27+ gem install bundler -v '2.4.22'
28+ bundle config set --local path 'vendor/bundle'
29+ bundle config set --local frozen 'false'
30+ bundle install
2731
2832 - name : Run RuboCop
29- run : bundle exec rubocop
33+ run : bundle exec rubocop
34+
35+ - name : Run RSpec
36+ run : bundle exec rspec
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
1212 spec . description = "A lightweight, zero-dependency web interface for monitoring Solid Queue jobs in Rails applications"
1313 spec . homepage = "https://github.com/vishaltps/solid_queue_monitor"
1414 spec . license = "MIT"
15- spec . required_ruby_version = ">= 3.1.6 "
15+ spec . required_ruby_version = ">= 3.0.0 "
1616
1717 spec . metadata [ "allowed_push_host" ] = "https://rubygems.org"
1818
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
3636 spec . require_paths = [ "lib" ]
3737
3838 # Uncomment to register a new dependency of your gem
39- spec . add_dependency "rails" , ">= 7.1 "
39+ spec . add_dependency "rails" , ">= 7.0 "
4040 spec . add_dependency "solid_queue" , ">= 0.1.0"
4141
4242 spec . add_development_dependency "rspec-rails" , "~> 6.0"
You can’t perform that action at this time.
0 commit comments