diff --git a/.github/workflows/main.yml b/.github/workflows/ci.yml similarity index 61% rename from .github/workflows/main.yml rename to .github/workflows/ci.yml index 8638b27..694c454 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Tests +name: CI on: push: @@ -23,9 +23,11 @@ jobs: with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - - name: Install dependencies - run: | - gem install bundler - bundle install --jobs 4 --retry 3 - - name: Run the default task - run: bundle exec rake + - name: Lint files + run: bundle exec rake rubocop + - name: Run tests + run: bundle exec rake spec + - name: Verify documentation is up to date + run: bundle exec rake generate_cops_documentation + env: + CI: true