This repository has been archived by the owner on Jan 15, 2025. It is now read-only.
(maint) Update leatherman to 13da6204fd27b758e88802619fb477ef7eb9d4e3 #688
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 | |