Files
characterization-tool-for-g…/config/ci.rb
Allan Souza 6747d5ece7 Set up Rails 8 application foundation
- Generate Rails 8.1 app with PostgreSQL and TailwindCSS
- Add docker-compose.yml (postgres:17) for local database
- Configure database.yml to connect to Dockerized Postgres via env vars
- Add Pages#home root route, application layout, and navbar partial
2026-06-07 20:00:54 -03:00

21 lines
694 B
Ruby

# Run using bin/ci
CI.run do
step "Setup", "bin/setup --skip-server"
step "Style: Ruby", "bin/rubocop"
step "Security: Gem audit", "bin/bundler-audit"
step "Security: Importmap vulnerability audit", "bin/importmap audit"
step "Security: Brakeman code analysis", "bin/brakeman --quiet --no-pager --exit-on-warn --exit-on-error"
# Optional: set a green GitHub commit status to unblock PR merge.
# Requires the `gh` CLI and `gh extension install basecamp/gh-signoff`.
# 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