Content-Length: 266750 | pFad | http://github.com/setup-rails/setup-rails

69 GitHub - setup-rails/setup-rails: A re-usable GitHub Actions CI workflow for verifying Rails apps
Skip to content

setup-rails/setup-rails

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

setup-rails

This is a re-usable GitHub Actions workflow based on the post Building a Rails CI pipeline with GitHub Actions by Matt Swanson.

Blog Post: A GitHub Actions Rails CI Workflow in 5 lines

To use it, create a file in your repo at .github/workflows/verify.yml containing:

name: Verify
on: [push, pull_request]

jobs:
  verify:
    uses: setup-rails/setup-rails/.github/workflows/verify.yml@v1 # use @main for latest updates
    # uncomment to enable options:
    #
    # with:
    #   brakeman: true
    #   bundler-audit: true
    #   rspec: true
    #   rubocop: true
    #   standard: true

Alternatively, you can install with RailsBytes:

rails app:template LOCATION="https://railsbytes.com/script/VMys8A"

You may also need to update Gemfile.lock by running:

bundle lock --add-platform x86_64-linux

Here is an example app which uses this workflow.

Current Limitations

  • Assumes postgres, no support for mysql or other databases
  • Assumes yarn or bun, no support for npm

About

A re-usable GitHub Actions CI workflow for verifying Rails apps

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/setup-rails/setup-rails

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy