Skip to content

Bump actions/checkout from 3 to 4 (#167) #128

Bump actions/checkout from 3 to 4 (#167)

Bump actions/checkout from 3 to 4 (#167) #128

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ["3.0", "3.1", "3.2"]
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: migration
run: |
bin/rails db:create RAILS_ENV=test
bin/rails db:migrate RAILS_ENV=test
- name: test
run: bin/rails test
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}