From 2df2589c83fa2440760ccbc382a64b67e02f9f26 Mon Sep 17 00:00:00 2001 From: Matt Muller Date: Wed, 27 Sep 2023 18:04:41 -0400 Subject: [PATCH] Add rubocop to CI --- .github/workflows/ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 41f5fcb..3c1bd30 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,3 +36,20 @@ jobs: - name: Test run: bundle exec rake release:test + + rubocop: + runs-on: ubuntu-latest + + steps: + - name: Set up Ruby 3.2 + uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.2 + + - uses: actions/checkout@v2 + + - name: Install gems + run: bundle install + + - name: Rubocop + run: bundle exec rubocop -E -S \ No newline at end of file