Skip to content

Merge pull request #9 from stac47/lstacul/github_actions #11

Merge pull request #9 from stac47/lstacul/github_actions

Merge pull request #9 from stac47/lstacul/github_actions #11

Workflow file for this run

name: Ruby
on:
push:
branches:
- master
pull_request:
jobs:
linter:
runs-on: ubuntu-latest
name: Linter
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true
- name: Linter
run: bundle exec rubocop
test:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
fail-fast: false
matrix:
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3']
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run Specs
run: bundle exec rake