Skip to content

Merge pull request #30 from increments/dependabot/github_actions/acti… #60

Merge pull request #30 from increments/dependabot/github_actions/acti…

Merge pull request #30 from increments/dependabot/github_actions/acti… #60

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- master
workflow_dispatch:
permissions:
contents: read
jobs:
rspec:
strategy:
fail-fast: false
matrix:
ruby: ["3.2", "3.3", "3.4"]
runs-on: "ubuntu-latest"
continue-on-error: false
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: ruby/setup-ruby@2a7b30092b0caf9c046252510f9273b4875f3db9 # v1.254.0
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rspec
rubocop:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: ruby/setup-ruby@2a7b30092b0caf9c046252510f9273b4875f3db9 # v1.254.0
with:
ruby-version: "3.2"
bundler-cache: true
- run: bundle exec rubocop