Skip to content

Commit

Permalink
Extract rubocop CI task to separate job
Browse files Browse the repository at this point in the history
  • Loading branch information
onlyoffice-testing-robot committed Dec 8, 2023
1 parent 38ce3ba commit 8690fad
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,17 @@ jobs:
run: |
npm install -g markdownlint-cli
markdownlint *.md
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up latest stable ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ruby
- name: Setup rubocop
run: |
bundle config set with 'development'
bundle install
- name: Run Rubocop
run: rubocop
2 changes: 0 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ jobs:
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec rake
- name: Check source files using `rubocop`
run: rubocop
- name: Check that code 100% documented
run: yardoc . | grep -q '100.00% documented'
- name: Check `simplecov` line coverage
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased (master)

### Changes

* Extract `rubocop` CI task to separate job

## 1.3.0 (2023-11-24)

### New Features
Expand Down

0 comments on commit 8690fad

Please sign in to comment.