From 8da07b47b52be91765cb768835e4f1e6a3c0bad0 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Tue, 7 Mar 2023 22:20:44 -0500 Subject: [PATCH] First pass at a drone file --- .drone.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .drone.yml 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: {}