Skip to content

Configure Mend for GitHub.com #55

Configure Mend for GitHub.com

Configure Mend for GitHub.com #55

Workflow file for this run

on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
checks:
name: ${{ matrix.cfg.check }}
strategy:
matrix:
cfg:
- {check: rake commits, os: ubuntu-latest, ruby: '2.7'}
runs-on: ${{ matrix.cfg.os }}
steps:
- name: Checkout current PR
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install ruby version ${{ matrix.cfg.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.cfg.ruby }}
- name: Update rubygems and install gems
run: |
gem update --system --silent --no-document
bundle config set without packaging development
bundle install --jobs 4 --retry 3
- name: Run ${{ matrix.cfg.check }} check
run: bundle exec ${{ matrix.cfg.check }}