This repository has been archived by the owner on Jan 15, 2025. It is now read-only.
[Backport 7.x] Rename Amazon 7 to 2 #843
Workflow file for this run
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: [7.x] | |
pull_request: | |
branches: [7.x] | |
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 | |