Skip to content

Add RuboCop GitHub Actions CI workflow#15

Merged
pixelate merged 1 commit into
mainfrom
add-rubocop-ci
Mar 14, 2026
Merged

Add RuboCop GitHub Actions CI workflow#15
pixelate merged 1 commit into
mainfrom
add-rubocop-ci

Conversation

@pixelate
Copy link
Copy Markdown
Owner

@pixelate pixelate commented Mar 14, 2026

Summary

  • Adds a GitHub Actions workflow that runs RuboCop on every push to main and on all pull requests
  • Installs RuboCop directly (not via bundler) to avoid native extension build failures from taglib-ruby
  • Sets TargetRubyVersion: 3.1 in .rubocop.yml to match the gem's minimum required Ruby version
  • Fixes all existing RuboCop offenses (%w[], Hash#except, gemspec metadata, spacing)
  • Bumps required_ruby_version in gemspec from >= 3.0 to >= 3.1 (anonymous block forwarding requires 3.1)

Test plan

  • Verify the RuboCop check passes on this PR

🤖 Generated with Claude Code

@pixelate pixelate force-pushed the add-rubocop-ci branch 2 times, most recently from 99040b2 to 1fe588b Compare March 14, 2026 09:44
- Runs on push to main and all pull requests
- Installs RuboCop directly to avoid taglib-ruby native extension issues
- Sets TargetRubyVersion: 3.1 in .rubocop.yml
- Fixes all existing RuboCop offenses
- Bumps required_ruby_version to >= 3.1 (anonymous block forwarding requires 3.1)
- Documents how to run RuboCop locally in README

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@pixelate pixelate merged commit 67429bc into main Mar 14, 2026
1 check passed
@pixelate pixelate deleted the add-rubocop-ci branch March 14, 2026 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant