Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 33 additions & 24 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,56 @@
name: Main

on:
- push
- pull_request
- push
- pull_request

jobs:
ci:
strategy:
fail-fast: false
matrix:
ruby:
- '2.7.0'
- '3.0'
- '3.1'
- '3.2'
- head
- truffleruby-head
- "3.2"
- "3.3"
- head
rubyopt:
- ""
- "--yjit"
- "--enable=frozen-string-literal"
include:
- ruby: "2.7"
rubyopt: ""
- ruby: "2.7"
rubyopt: "--enable=frozen-string-literal"
# - ruby: truffleruby-head

name: CI
runs-on: ubuntu-latest
env:
CI: true
# TESTOPTS: --verbose
steps:
- uses: actions/checkout@master
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- name: Test
run: bundle exec rake test
- uses: actions/checkout@master
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- name: Test
run: bundle exec rake test
env:
RUBYOPT: ${{ matrix.rubyopt }}

check:
name: Check
runs-on: ubuntu-latest
env:
CI: true
steps:
- uses: actions/checkout@master
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: '3.2'
- name: Check
run: |
bundle exec rake stree:check
bundle exec rubocop
- uses: actions/checkout@master
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Check
run: |
bundle exec rake stree:check
bundle exec rubocop
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.0
3.3.6
Loading