diff --git a/.drone.yml b/.drone.yml index 97c40e0..649aaf3 100644 --- a/.drone.yml +++ b/.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: