This repository has been archived by the owner on Oct 1, 2024. It is now read-only.
Merge pull request #2788 from Shopify/dependabot/bundler/gems/quilt_r… #4781
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ruby-CI | |
on: | |
pull_request: ~ | |
push: | |
branches: [main] | |
jobs: | |
ruby-tests: | |
runs-on: ubuntu-latest | |
name: 'Test (Ruby ${{ matrix.ruby-version }})' | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby-version: ['3.1'] | |
steps: | |
- uses: actions/checkout@v3 | |
name: Checkout | |
- uses: ruby/setup-ruby@v1 | |
name: Use Ruby ${{ matrix.ruby-version }} | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true | |
- name: 📦 Install dependencies | |
run: | | |
bundle config set ignore_messages true | |
bundle install --frozen | |
working-directory: ./gems/quilt_rails | |
- name: 💅🏼 Lint | |
run: bundle exec rubocop | |
working-directory: ./gems/quilt_rails | |
- name: Test | |
run: bundle exec rake test | |
working-directory: ./gems/quilt_rails |