Skip to content

Toolbar and /tidewave/app (#106) #340

Toolbar and /tidewave/app (#106)

Toolbar and /tidewave/app (#106) #340

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: [3.2.0, 3.3.0]
appraisal: ["rails_7.1", "rails_7.2", "rails_8.0"]
steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Install appraisal dependencies
run: bundle exec appraisal install
- name: Run appraisal
run: bundle exec appraisal ${{ matrix.appraisal }} ruby -Itest test/all_test.rb
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby 3.3.0
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.0
bundler-cache: true
- name: Lint code for consistent style
run: bundle exec rubocop