Skip to content

[pre-commit.ci] pre-commit autoupdate (#19) #77

[pre-commit.ci] pre-commit autoupdate (#19)

[pre-commit.ci] pre-commit autoupdate (#19) #77

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [2.6, 3.1]
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Style checking
run: bundle exec rake rubocop
- name: Run tests
run: bundle exec rake spec