Skip to content

Upgrade phlex to v2 beta #192

Upgrade phlex to v2 beta

Upgrade phlex to v2 beta #192

Workflow file for this run

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: Gemfile
# Ruby 3.2 with Phlex 1
- ruby: 3.2
gemfile: gemfiles/phlex1.gemfile
# Ruby 3.1 with Phlex 1
- ruby: 3.1
gemfile: gemfiles/phlex1.gemfile
# Ruby 3.0 with Phlex 1
- ruby: "3.0"
gemfile: gemfiles/phlex1.gemfile
# Ruby 2.7 with Phlex 1
- ruby: 2.7
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