Skip to content

Commit

Permalink
Disable yml and md linting and fix chefstyle
Browse files Browse the repository at this point in the history
Tests on this repo were blowing up

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 committed Jan 10, 2022
1 parent 9c1a788 commit 4ddffec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 28 deletions.
8 changes: 0 additions & 8 deletions .expeditor/verify.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ expeditor:
timeout_in_minutes: 30

steps:
- label: lint-chefstyle
command:
- .expeditor/run_linux_tests.sh "rake style"
expeditor:
executor:
docker:
image: ruby:2.7-buster

- label: run-specs-ruby-2.7
command:
- .expeditor/run_linux_tests.sh "rake spec"
Expand Down
23 changes: 3 additions & 20 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ name: lint
pull_request:
push:
branches:
- master
- main

jobs:
Expand All @@ -20,7 +19,7 @@ jobs:
ruby-version: 2.7
bundler-cache: true
- uses: r7kamura/rubocop-problem-matchers-action@v1 # this shows the failures in the PR
- run: bundle exec chefstyle -c .rubocop.yml
- run: bundle exec chefstyle

spellcheck:
runs-on: ubuntu-latest
Expand All @@ -29,25 +28,9 @@ jobs:
- uses: carlosperate/[email protected]
id: download-custom-dictionary
with:
file-url: 'https://raw.githubusercontent.com/chef/chef_dictionary/master/chef.txt'
file-url: 'https://raw.githubusercontent.com/chef/chef_dictionary/main/chef.txt'
file-name: 'chef_dictionary.txt'
- uses: zwaldowski/cspell-action@v1
with:
config: cspell.json
paths: "**/*"

yamllint:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Run yaml Lint
uses: actionshub/yamllint@main

mdl:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Run Markdown Lint
uses: actionshub/markdownlint@main
paths: "**/*"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.vagrant
*.log
coverage/
.bundle

# Chef Workstation is the source of truth for all locked gems
Gemfile.lock
Expand Down

0 comments on commit 4ddffec

Please sign in to comment.