Skip to content

Commit

Permalink
Use .ruby-version
Browse files Browse the repository at this point in the history
  • Loading branch information
buty4649 committed Jul 16, 2024
1 parent 7da60d0 commit c97e938
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: true
- name: Install dependencies
run: bundle install
- name: Run rubocop
Expand All @@ -39,7 +39,6 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: true
- name: build
run: rake build:${{ matrix.os-arch }}
Expand Down Expand Up @@ -72,7 +71,6 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: true
- name: Install dependencies
run: bundle install
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: true
- name: Build assets
run: rake build:assets
Expand Down
1 change: 0 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ require: rubocop-rspec

AllCops:
NewCops: enable
TargetRubyVersion: 3.3
SuggestExtensions: false
Exclude:
- build/**/*
Expand Down
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.3.4
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
source 'https://rubygems.org/'

ruby file: '.ruby-version'

gem 'rake'

group 'test' do
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,8 @@ DEPENDENCIES
rubocop
rubocop-rspec

RUBY VERSION
ruby 3.3.4p94

BUNDLED WITH
2.5.11

0 comments on commit c97e938

Please sign in to comment.