Skip to content

Commit b793b55

Browse files
committed
testing workflow
1 parent 273a39d commit b793b55

2 files changed

Lines changed: 14 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: RuboCop Check
1+
name: CI
22

33
on:
44
push:
@@ -11,7 +11,7 @@ on:
1111
- develop
1212

1313
jobs:
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

solid_queue_monitor.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)