Skip to content

Commit

Permalink
Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
stejskalleos committed Mar 20, 2024
1 parent 83fa5e0 commit fd083a6
Show file tree
Hide file tree
Showing 3 changed files with 596 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,21 @@ on:
pull_request:
push:
branches:
- 'develop'
- 'v*'
- "develop"
- "v*"

concurrency:
group: ${{ github.ref_name }}-${{ github.workflow }}
cancel-in-progress: true

jobs:
test:
rubocop:
name: Rubocop
uses: theforeman/actions/.github/workflows/rubocop.yml@v0

test_ruby:
name: Ruby
needs: rubocop
uses: theforeman/actions/.github/workflows/foreman_plugin.yml@v0
with:
plugin: foreman_azure_rm
25 changes: 25 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
inherit_from: .rubocop_todo.yml

AllCops:
NewCops: enable

Layout/LineLength:
Enabled: false

Metrics:
Enabled: false

Style/HashSyntax:
EnforcedStyle: no_mixed_keys

Style/SymbolArray:
EnforcedStyle: brackets

Style/Documentation:
Enabled: false

Style/StringLiterals:
Enabled: false

Style/FrozenStringLiteralComment:
Enabled: false
Loading

0 comments on commit fd083a6

Please sign in to comment.