Skip to content

Commit

Permalink
Upgrade ruby, gems and workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
stgeneral committed Jul 21, 2023
1 parent f7e9ed2 commit da2ca83
Show file tree
Hide file tree
Showing 8 changed files with 152 additions and 148 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
strategy:
matrix:
ruby:
- '2.7.6'
- '2.7'
- '3.1'
- '3.2'

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/publish-gpr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up Ruby 2.6
- name: Set up Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: 2.6.x

- name: Publish to GPR
run: |
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/publish-rubygems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up Ruby 2.6
- name: Set up Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: 2.6.x

- name: Publish to RubyGems
run: |
Expand Down
7 changes: 1 addition & 6 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ inherit_from:

require:
- rubocop-performance
- rubocop-rake
- rubocop-rspec

AllCops:
Expand All @@ -25,12 +26,6 @@ Layout/LineEndStringConcatenationIndentation:
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented

#################### Metrics ##############################

Metrics/BlockLength:
IgnoredMethods:
- describe

#################### RSpec ################################

RSpec/ExampleLength:
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.4
3.2.2
10 changes: 9 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
source 'https://rubygems.org'

# Specify your gem's dependencies in auxiliary_rails.gemspec
gemspec

gem 'bundler', '~> 2.0'
gem 'pry'
gem 'rake'
gem 'rspec', '~> 3.8'
gem 'rubocop', '~> 1.54'
gem 'rubocop-performance'
gem 'rubocop-rake'
gem 'rubocop-rspec'
Loading

0 comments on commit da2ca83

Please sign in to comment.