Skip to content

Add github actions CI #3

Add github actions CI

Add github actions CI #3

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
bundler-cache: true
- name: Install dependencies
run: |
gem install bundler
bundle install
- name: Run tests
run: bundle exec rspec