Skip to content

Merge pull request #49 from Shopify/dependabot/github_actions/actions… #146

Merge pull request #49 from Shopify/dependabot/github_actions/actions…

Merge pull request #49 from Shopify/dependabot/github_actions/actions… #146

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- "2.7"
- "3.0"
- "3.1"
- "3.2"
- "3.3"
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Set up Ruby
uses: ruby/setup-ruby@e34163cd15f4bb403dcd72d98e295997e6a55798 # v1.238.0
with:
ruby-version: ${{ matrix.ruby }}
- name: Run tests
run: |
bundle install --jobs 4 --retry 3
bundle exec rake
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Set up Ruby
uses: ruby/setup-ruby@e34163cd15f4bb403dcd72d98e295997e6a55798 # v1.238.0
- name: Run style checks
run: |
bundle install --jobs 4 --retry 3
bundle exec rubocop