Feat/linter-speed (#1419)

pull/1420/head
bakerboy448 1 year ago committed by GitHub
commit eda6cf3340
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -17,10 +17,8 @@ jobs:
- uses: actions/checkout@v3.5.3
- name: markdownlint
run: |
find "${GITHUB_WORKSPACE}" -name '*.md' -exec \
docker run --rm \
-v "${GITHUB_WORKSPACE}":"${GITHUB_WORKSPACE}" \
-v "${GITHUB_WORKSPACE}/.markdownlint.jsonc":"/config/.markdownlint.jsonc" \
docker run --rm \
-v "${GITHUB_WORKSPACE}":/data \
markdownlint/markdownlint \
-c "/config/.markdownlint.jsonc" \
{} +
-c "/data/.markdownlint.jsonc" \
.

@ -17,10 +17,9 @@ jobs:
- name: Run yamllint
run: |
find "${GITHUB_WORKSPACE}" -name '*.yml' -exec \
docker run --rm \
-v "${GITHUB_WORKSPACE}":"${GITHUB_WORKSPACE}" \
-w "${GITHUB_WORKSPACE}" \
docker run --rm \
-v "${GITHUB_WORKSPACE}":/yaml \
peterdavehello/yamllint \
yamllint -c yamllint.yml \
{} +
yamllint \
-c "/yaml/yamllint.yml" \
.

Loading…
Cancel
Save