This repository has been archived by the owner on Jan 15, 2025. It is now read-only.
(maint) Update pxp-agent to c6517fe6d072b802b95b0c8abf9d65aa9cf72230 #679
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Checks | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
checks: | |
name: ${{ matrix.cfg.check }} | |
strategy: | |
matrix: | |
cfg: | |
- {check: rubocop, os: ubuntu-latest, ruby: 2.7} | |
- {check: 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: Install bundler and gems | |
run: | | |
gem install bundler | |
bundle config set without packaging documentation | |
bundle install --jobs 4 --retry 3 | |
- name: Run ${{ matrix.cfg.check }} check | |
run: bundle exec rake ${{ matrix.cfg.check }} | |