Skip to content

ruby linting

ruby linting #69

Workflow file for this run

name: Ruby
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
unit-tests:
runs-on: ubuntu-latest
env:
RAILS_ENV: test
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3.0"
bundler-cache: true
- name: Run tests
run: bin/rails rspec:unit
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3.0"
bundler-cache: true
- name: Run tests
run: bin/rails rubocop