23 lines
439 B
YAML
23 lines
439 B
YAML
name: Ruby CI
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
image: ruby:3.2.0
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install dependencies
|
|
run: |
|
|
gem install bundle
|
|
bundle install
|
|
- name: autoload
|
|
run: bin/rails zeitwerk:check
|
|
- name: lint
|
|
run: bin/bundle exec standardrb
|
|
- name: test
|
|
run: |
|
|
bin/rails assets:precompile
|
|
bin/rails test
|