-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rename Markdownlint config. file * Rename YAMLLint config. file * Tweak package.json name description version license main devDependencies scripts * Move some Markdownlint and YAMLLint to .github Actions * Accept results of `npm run dist` * Act on CI results: improve YAML
- Loading branch information
1 parent
07160e6
commit 4e7fe8a
Showing
6 changed files
with
74 additions
and
1,095 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ name: Lint | |
workflow_dispatch: {} | ||
|
||
jobs: | ||
build: | ||
lint: | ||
name: Lint | ||
|
||
runs-on: ubuntu-22.04 | ||
|
@@ -24,13 +24,27 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
|
||
- name: Create dist | ||
run: | | ||
npm install | ||
npm run dist | ||
- name: Lint Dockerfile | ||
run: docker run --rm -i hadolint/hadolint:${{ env.hadolint-version }} < Dockerfile | ||
|
||
- name: Check if build left artifacts | ||
run: git diff --exit-code | ||
# uses .markdownlint.yml for configuration | ||
- name: markdownlint | ||
uses: DavidAnson/[email protected] | ||
with: | ||
globs: | | ||
.github/**/*.md | ||
*.md | ||
- name: yamllint | ||
uses: ibiqlik/[email protected] | ||
with: | ||
file_or_dir: | | ||
.github/**/*.yml | ||
.*.yml | ||
strict: true | ||
config_file: .yamllint.yml | ||
|
||
- name: actionlint | ||
uses: reviewdog/action-actionlint@4f8f9963ca57a41e5fd5b538dd79dbfbd3e0b38a # v1.54.0 | ||
env: | ||
SHELLCHECK_OPTS: -o all |
File renamed without changes.
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 |
---|---|---|
|
@@ -3,3 +3,5 @@ extends: default | |
rules: | ||
line-length: | ||
max: 100 | ||
comments: | ||
min-spaces-from-content: 1 |
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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
module.exports = [{ | ||
rules: { | ||
"no-trailing-spaces": "error", | ||
camelcase: "error" | ||
} | ||
}]; | ||
module.exports = [ | ||
{ | ||
rules: { | ||
'no-trailing-spaces': 'error', | ||
camelcase: 'error', | ||
}, | ||
}, | ||
] |
Oops, something went wrong.