Update dependencies and add pipelines #2
1 changed files with 37 additions and 36 deletions
73
.drone.yml
73
.drone.yml
|
@ -2,47 +2,48 @@ 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: 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: 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: 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
|
||||
- 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: {}
|
||||
- name: bundle
|
||||
temp: {}
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
|
|
Loading…
Reference in a new issue