47 lines
718 B
YAML
47 lines
718 B
YAML
|
name: default
|
||
|
kind: pipeline
|
||
|
|
||
|
steps:
|
||
|
- name: install
|
||
|
image: ruby:3.2.0
|
||
|
volumes:
|
||
|
- name: bundle
|
||
|
path: /usr/local/bundle
|
||
|
commands:
|
||
|
- bin/bundle install --jobs=3 --retry=3
|
||
|
|
||
|
- name: autoload
|
||
|
image: ruby:3.2.0
|
||
|
volumes:
|
||
|
- name: bundle
|
||
|
path: /usr/local/bundle
|
||
|
commands:
|
||
|
- bin/rails zeitwerk:check
|
||
|
depends_on:
|
||
|
- install
|
||
|
|
||
|
- name: lint
|
||
|
image: ruby:3.2.0
|
||
|
volumes:
|
||
|
- name: bundle
|
||
|
path: /usr/local/bundle
|
||
|
commands:
|
||
|
- bin/bundle exec standardrb
|
||
|
depends_on:
|
||
|
- install
|
||
|
|
||
|
- name: test
|
||
|
image: ruby:3.2.0
|
||
|
volumes:
|
||
|
- name: bundle
|
||
|
path: /usr/local/bundle
|
||
|
commands:
|
||
|
- bin/rails assets:precompile
|
||
|
- bin/rails test
|
||
|
depends_on:
|
||
|
- install
|
||
|
|
||
|
volumes:
|
||
|
- name: bundle
|
||
|
temp: {}
|