Skip to content

Commit

Permalink
ref: move linthig jobs in unificate yml
Browse files Browse the repository at this point in the history
  • Loading branch information
askonev committed Dec 5, 2023
1 parent 5fb93e6 commit bd783c5
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@ name: Linting
on:
- pull_request
jobs:
code-style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby 3.2
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- name: Install gem dependencies
run: |
gem install bundler
bundle config set with 'development'
bundle install --jobs 4 --retry 3
- name: Run RuboCop check
run: rubocop
- name: Check that code 100% documented
run: yardoc . | grep -q '100.00% documented'
yamllint:
name: Yamllint
runs-on: ubuntu-latest
Expand Down

0 comments on commit bd783c5

Please sign in to comment.