This repository has been archived by the owner on Jan 15, 2025. It is now read-only.
(maint) Update pxp-agent to 9d41f737f3ca897c30a97f833e0ec9d83997ad7b #790
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: Rubocop check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout current PR | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.0' | |
- name: Install bundler and gems | |
run: | | |
gem install bundler | |
bundle config set without packaging documentation | |
bundle install --jobs 4 --retry 3 | |
- name: Run Rubocop check | |
run: bundle exec rake rubocop | |