stevepolitodesign / rails_mvp_authentication

An authentication generator for Rails 7. Generate all the files needed to create a feature rich authentication system that you control. No configuration needed.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configure Gemspec and CI

stevepolitodesign opened this issue · comments

Something like the following should work.

name: Ruby

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

jobs:
  test:

    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: '2.6'         
      - name: Install dependencies
        run: bundle install
      - name: Create database
        run: bundle exec rails db:setup
      - name: Run Standard
        run: bundle exec standardrb
      - name: Run tests
        run: bundle exec rails test