This repository has been archived by the owner on May 3, 2024. It is now read-only.
Update to Ruby 3.3 era #273
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
# https://docs.github.com/ja/actions/reference/workflow-syntax-for-github-actions | |
name: CI | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '.vscode' | |
- '**.md' | |
- '.github/dependabot.yml' | |
- '.github/workflows/lint.yml' | |
- '.github/workflows/deploy_documents.yml' | |
- '.github/workflows/dependency-review.yml' | |
- '.github/workflows/merge-bot-pr.yml' | |
- '.yardopts' | |
pull_request: | |
paths-ignore: | |
- '.vscode' | |
- '**.md' | |
- '.github/dependabot.yml' | |
- '.github/workflows/lint.yml' | |
- '.github/workflows/deploy_documents.yml' | |
- '.github/workflows/dependency-review.yml' | |
- '.github/workflows/merge-bot-pr.yml' | |
- '.yardopts' | |
jobs: | |
test: | |
timeout-minutes: 15 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
# The use of the quoted string is due to https://github.com/actions/runner/issues/849 | |
ruby: ['head', '3.3', '3.2'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
env: | |
BUNDLE_WITHOUT: development | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- run: bundle exec rake test_behaviors --suppress-backtrace='\/bundle' | |
env: | |
BUNDLE_WITHOUT: development |