Skip to content

Fix RuboCop warnings #64

Fix RuboCop warnings

Fix RuboCop warnings #64

Workflow file for this run

name: Continuous integration
on: push
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ['3.2', '3.3']
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- name: Lint with RuboCop
run: bundle exec rubocop
- name: Run tests
run: bundle exec dotenv -f ".env.test" rspec
- name: Send test coverage to CodeClimate
uses: paambaati/codeclimate-action@v5.0.0
if: ${{ env.CC_TEST_REPORTER_ID }}
with:
coverageCommand: true