40 lines
609 B
YAML
40 lines
609 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: test
|
|
image: ruby:3.2.0
|
|
volumes:
|
|
- name: bundle
|
|
path: /usr/local/bundle
|
|
commands:
|
|
- bin/rails test
|
|
|
|
- name: autoload
|
|
image: ruby:3.2.0
|
|
volumes:
|
|
- name: bundle
|
|
path: /usr/local/bundle
|
|
commands:
|
|
- bin/rails zeitwerk:check
|
|
|
|
- name: lint
|
|
image: ruby:3.2.0
|
|
volumes:
|
|
- name: bundle
|
|
path: /usr/local/bundle
|
|
commands:
|
|
- bin/bundle exec standardrb
|
|
|
|
|
|
volumes:
|
|
- name: bundle
|
|
temp: {}
|