diff --git a/.github/workflows/standardrb.yml b/.github/workflows/standardrb.yml new file mode 100644 index 0000000..1e07e92 --- /dev/null +++ b/.github/workflows/standardrb.yml @@ -0,0 +1,22 @@ +name: StandardRB + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: "3.3" + bundler-cache: true + + - name: Install gems + run: bundle install --jobs 4 --retry 3 + + - name: Run StandardRB + run: bundle exec standardrb --format progress diff --git a/Gemfile b/Gemfile index 9e75a1a..5469099 100644 --- a/Gemfile +++ b/Gemfile @@ -3,5 +3,7 @@ source "https://rubygems.org" gemspec -gem "rake", "~> 13.2" gem "minitest", "~> 5.23" +gem "rake", "~> 13.2" + +gem "standard", group: %i[development test] diff --git a/telebugs.gemspec b/telebugs.gemspec index bfa28f0..f0ef706 100644 --- a/telebugs.gemspec +++ b/telebugs.gemspec @@ -9,10 +9,10 @@ Gem::Specification.new do |spec| spec.email = ["help@telebugs.com"] spec.summary = "Report errors to Telebugs with the offical Ruby SDK" - spec.description = <