Skip to content

Add tea.yaml

Add tea.yaml #103

Workflow file for this run

name: Test Ruby Gem
on:
push:
branches: [ "**" ]
permissions:
contents: read
jobs:
test:
name: Build + Test
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
ruby-version: ['2.6', '2.7', '3.0']
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run tests
run: bundle exec rake
- name: Run rubocop
run: bundle exec rubocop