Skip to content

Migrate from TravisCI to GitHub Actions#494

Merged
cktricky merged 2 commits intomainfrom
feature/migrate-to-github-actions
Jan 5, 2026
Merged

Migrate from TravisCI to GitHub Actions#494
cktricky merged 2 commits intomainfrom
feature/migrate-to-github-actions

Conversation

@cktricky
Copy link
Contributor

@cktricky cktricky commented Jan 5, 2026

Summary

Migrates CI from the outdated TravisCI to modern GitHub Actions workflow.

Changes

  • Added .github/workflows/ci.yml - New GitHub Actions workflow
  • Removed .travis.yml - Outdated TravisCI configuration
  • Updated Ruby version from 2.6.5 to 3.4.1
  • Removed PhantomJS setup (now handled by Selenium WebDriver)
  • Added bundler caching for faster CI runs
  • Added security audit check with bundle-audit

Workflow Features

The new GitHub Actions workflow:

  • ✅ Runs on pushes to main and on pull requests
  • ✅ Uses Ruby 3.4.1 (latest stable)
  • ✅ Automatically caches gems with ruby/setup-ruby@v1
  • ✅ Sets up test database (db:create and db:migrate)
  • ✅ Runs RSpec tests in maintainer mode (RAILSGOAT_MAINTAINER=true)
  • ✅ Includes security audit with bundle-audit (non-blocking)

Testing

The workflow will run automatically when this PR is created, demonstrating that the CI pipeline works correctly.

Benefits

  • Modern: Uses latest GitHub Actions instead of deprecated TravisCI
  • Faster: Bundler caching speeds up subsequent runs
  • Free: GitHub Actions is free for public repos
  • Integrated: Native GitHub integration with better UI
  • Secure: Includes automated security audit checks

Fixes #491

🤖 Generated with Claude Code

cktricky and others added 2 commits January 5, 2026 12:27
Replaced outdated TravisCI configuration with modern GitHub Actions workflow.

Changes:
- Added .github/workflows/ci.yml with GitHub Actions configuration
- Removed .travis.yml (TravisCI configuration)
- Updated to use Ruby 3.4.1 (was 2.6.5)
- Replaced PhantomJS setup with modern Selenium WebDriver
- Added bundler caching for faster builds
- Added security audit step with bundle-audit
- Runs tests on push to main and on pull requests

The new workflow:
- Uses latest GitHub Actions (checkout@v4, ruby/setup-ruby@v1)
- Automatically caches gems for faster subsequent runs
- Sets up test database properly before running tests
- Runs RSpec tests in maintainer mode
- Includes optional security audit check

Fixes #491

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
The project doesn't have bin/rails binstubs, so use bundle exec rails
for database setup commands.
@cktricky cktricky merged commit 06de7f6 into main Jan 5, 2026
1 check passed
@cktricky cktricky deleted the feature/migrate-to-github-actions branch January 5, 2026 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade from TravisCI to GitHub Action CI

1 participant