This repository has been archived by the owner on Oct 1, 2024. It is now read-only.
Version Packages #4924
Workflow file for this run
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@v4 | |
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 |