Files
fizzy/config/ci.rb
T
David Heinemeier Hansson aaa4dd2967 Use modern CI setup
2025-04-05 17:18:26 +02:00

20 lines
583 B
Ruby

# Run using bin/ci
CI.run do
step "Setup", "bin/setup"
step "Style: Ruby", "bin/rubocop"
step "Security: Gem audit", "bin/bundler-audit check --update"
step "Security: Importmap vulnerability audit", "bin/importmap audit"
step "Security: Brakeman code analysis", "bin/brakeman --quiet --no-pager --exit-on-warn --exit-on-error"
step "Tests: Rails", "bin/rails test"
if success?
step "Signoff: All systems go. Ready for merge and deploy.", "gh signoff"
else
failure "Signoff: CI failed. Do not merge or deploy.", "Fix the issues and try again."
end
end