diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 2e1387f7..e9c002c2 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -3,6 +3,27 @@ name: Ruby on: [push, pull_request] jobs: + lint: + name: CI-lint + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + ruby: + - '3.1' + steps: + - uses: actions/checkout@v4 + + - name: Setup Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + bundler-cache: true + + - name: Lint + run: | + bundle exec rubocop + test: name: CI-tests runs-on: ubuntu-latest