Skip to content

Merge pull request #4 from ajaynomics/ajaynomics-patch-1 #25

Merge pull request #4 from ajaynomics/ajaynomics-patch-1

Merge pull request #4 from ajaynomics/ajaynomics-patch-1 #25

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ "3.0", "3.1", "3.2" ]
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: default
bundler-cache: true
- name: Run tests
run: |
bundle exec rake
linters:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler: default
bundler-cache: true
- name: rubocop check
run: |
bundle exec rubocop