-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable yml and md linting and fix chefstyle
Tests on this repo were blowing up Signed-off-by: Tim Smith <[email protected]>
- Loading branch information
Showing
3 changed files
with
4 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ name: lint | |
pull_request: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
|
||
jobs: | ||
|
@@ -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 | ||
|
@@ -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: "**/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters