diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..fdea2db --- /dev/null +++ b/.drone.yml @@ -0,0 +1,40 @@ +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: {}