Skip to content

Modernize code.

Modernize code. #6

Workflow file for this run

---
name: test
on:
pull_request_target:
push:
branches:
- main
workflow_dispatch:
inputs: {}
jobs:
test:
name: test
runs-on: "ubuntu-latest"
if: |
github.actor == 'dependabot[bot]' && github.event_name == 'pull_request_target' ||
github.actor != 'dependabot[bot]'
strategy:
fail-fast: false
matrix:
ruby: ["3.2", "3.3"]
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: vendor/bundle
key: >
${{ runner.os }}-${{ matrix.ruby }}-gems
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install Ruby dependencies
run: |
bundle install
- name: Run tests
run: |
bundle exec rake