Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
Signed-off-by: Corey Hemminger <[email protected]>
  • Loading branch information
Stromweld committed Oct 2, 2024
1 parent 0a96810 commit dd803e0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ on:

jobs:
markdownlint:
uses: Stromweld/github-workflows/.github/workflows/markdownlint.yml@main
uses: Stromweld/github-workflows/.github/workflows/markdown-lint.yml@main

yamllint:
uses: Stromweld/github-workflows/.github/workflows/yamllint.yml@main
uses: Stromweld/github-workflows/.github/workflows/yaml-lint.yml@main

jsonlint:
uses: Stromweld/github-workflows/.github/workflows/jsonlint.yml@main
uses: Stromweld/github-workflows/.github/workflows/json-lint.yml@main

cookstylelint:
uses: Stromweld/github-workflows/.github/workflows/cookstylelint.yml@main
uses: Stromweld/github-workflows/.github/workflows/cookstyle-lint.yml@main

integration-dokken:
runs-on: ubuntu-latest
Expand Down
7 changes: 6 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
AllCops:
TargetChefVersion: 17.0
TargetRubyVersion: 3.1
Include:
- "**/*.rb"
Exclude:
- "vendor/**/*"
- "spec/**/*"
2 changes: 1 addition & 1 deletion Policyfile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
named_run_list :test_repo, %w(test::install_git test test::repo)
named_run_list :test_local, %w(test::install_git test test::local)
named_run_list :test_chef_workstation, 'test::chef_workstation'
named_run_list :test_inspec,'test::inspec'
named_run_list :test_inspec, 'test::inspec'
named_run_list :test_chef_server, 'test::chef_server_noaddons'
named_run_list :test_chef_automatev2, 'test::automatev2'

Expand Down

0 comments on commit dd803e0

Please sign in to comment.