name: Ruby

on:
  push:
  schedule:
    - cron: "59 11 * * *"

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby 2.6
      uses: actions/setup-ruby@v1
      with:
        ruby-version: 2.6.x
    - name: Get build dependencies
      run: |
        sudo apt-get update
        sudo apt-get install libsqlite3-dev
        gem install bundler
        bundle install --jobs 4 --retry 3
    - name: Build and test with Rake
      run: |
        bundle exec rake

name: Ruby

on:
  push:
  schedule:
    - cron: "59 11 * * *"

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby 2.6
      uses: actions/setup-ruby@v1
      with:
        ruby-version: 2.6.x
    - name: Get build dependencies
      run: |
        sudo apt-get update
        sudo apt-get install libsqlite3-dev
        gem install bundler
        bundle install --jobs 4 --retry 3
    - name: Build and test with Rake
      run: |
        bundle exec rake
    - name: Run rubocop
      run: |
        bundle exec rubocop

Add github workflow for rubocop linter
Add github workflow for rubocop linter
