diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3be79bb..bb4388c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,14 +3,24 @@ name: Ruby on: [push,pull_request] jobs: - build: + tests: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up Ruby - uses: ruby/setup-ruby@v1 + - uses: ruby/setup-ruby@v1 with: - ruby-version: 3.0.2 + ruby-version: 3.2.2 bundler-cache: true - name: Run the default task run: bundle exec rake + + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.2.2 + bundler-cache: true + - name: Lint + run: bundle exec standardrb