Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/bundler/rubocop-1.68.0
Browse files Browse the repository at this point in the history
  • Loading branch information
LuukvH authored Jan 14, 2025
2 parents ac5796e + 75e3b1d commit 7fea31f
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
ruby-version: '3.3'
bundler-cache: true
- name: rubocop
uses: reviewdog/action-rubocop@v2
Expand All @@ -25,9 +25,9 @@ jobs:
strategy:
matrix:
ruby:
- '3.0'
- '3.1'
- '3.2'
- '3.3'
name: RSpec tests ruby ${{ matrix.ruby }}
steps:
- name: Check out code
Expand All @@ -45,7 +45,7 @@ jobs:
uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
ruby-version: '3.3'
bundler-cache: true
- name: Run RSpec in GITHUB_WORKSPACE
run: '! bundle exec rspec spec/integration/failing_spec.rb'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
ruby-version: '3.3'
- name: Replace version by tag value
run: sed -i "s/'[0-9]\.[0-9]\..*'/'${GITHUB_REF##*/}'/" lib/rspec/github/version.rb
- name: Publish to RubyGems
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: 3.0
TargetRubyVersion: 3.1
NewCops: enable

# A top class comment is not needed for this simple gem
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ DEPENDENCIES
rubocop (~> 1.68.0)

BUNDLED WITH
2.2.19
2.6.0
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ rspec --format RSpec::Github::Formatter --tag ~skip
After checking out the repo, run `bundle install` to install dependencies. Then, run `rake spec` to run the tests.
Publishing a new version is handled by the [publish workflow](.github/workflows/publish.yml). This workflow publishes a GitHub release to [rubygems](https://rubygems.org/) with the version defined in the release.

### Usefull references
### Useful references
- https://help.github.com/en/actions/reference/development-tools-for-github-actions
- https://developer.github.com/apps/quickstart-guides/creating-ci-tests-with-the-checks-api

Expand Down
2 changes: 1 addition & 1 deletion rspec-github.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
spec.description = 'Formatter for RSpec to show errors in GitHub action annotations'
spec.homepage = 'https://drieam.github.io/rspec-github'
spec.license = 'MIT'
spec.required_ruby_version = Gem::Requirement.new('>= 3.0')
spec.required_ruby_version = Gem::Requirement.new('>= 3.1')

spec.metadata['allowed_push_host'] = 'https://rubygems.org'
spec.metadata['homepage_uri'] = spec.homepage
Expand Down

0 comments on commit 7fea31f

Please sign in to comment.