FIX CHECKBOX_GROUP #262
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: CI | |
on: | |
pull_request: | |
branches: | |
- "*" | |
push: | |
branches: | |
- main | |
jobs: | |
standard: | |
name: StandardRB Check Action | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.3 # Use the latest stable Ruby version for StandardRB | |
bundler-cache: true | |
- run: bundle exec standardrb --format progress | |
tests: | |
name: Tests (Ruby ${{ matrix.ruby }} - ${{ matrix.gemfile }}) | |
strategy: | |
matrix: | |
include: | |
# Latest Ruby with latest Phlex | |
- ruby: 3.3 | |
gemfile: gemfiles/phlex2.gemfile | |
# Ruby 3.2 with Phlex 1 | |
- ruby: 3.2 | |
gemfile: gemfiles/phlex1.gemfile | |
fail-fast: false | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_GEMFILE: ${{ matrix.gemfile }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Run tests | |
run: bundle exec rake test |