Skip to content

Merge pull request #31 from emailable/dependabot/github_actions/ruby/… #48

Merge pull request #31 from emailable/dependabot/github_actions/ruby/…

Merge pull request #31 from emailable/dependabot/github_actions/ruby/… #48

Workflow file for this run

name: CI
on:
push:
branches: [ 'master' ]
pull_request:
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.2', '3.3', '3.4']
steps:
- uses: actions/checkout@v7
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1.316.0
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run tests
run: bundle exec rake
linters:
name: Linters
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v7
- name: Set up Ruby
uses: ruby/setup-ruby@v1.316.0
with:
bundler-cache: true
- name: RuboCop
run: bundle exec rubocop --parallel
if: always()