Shopify / ruby-sigstore

Rubygems sigstore signing plugin
Apache License 2.0
7 stars 6 forks source link

add rubocop #31

Closed doodzik closed 2 years ago

doodzik commented 2 years ago

fixes #6

Problem

I added rubocop to this repository in #2, but there it has to be run manually. Since it isn't an automatic change we will be prone to introduce regressions that will make it hard to integrate with rubygems later on.

Solution

Setup rubocop to run in github actions for every PR. I think it would make sense to copy the configuration from rubygems, which will reduce how much we will need to change once we propose to integrate the plugin into rubygems.