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 - uses: actions/checkout@v3.5.3
- name: markdownlint - name: markdownlint
run: | run: |
find "${GITHUB_WORKSPACE}" -name '*.md' -exec \
docker run --rm \ docker run --rm \
-v "${GITHUB_WORKSPACE}":"${GITHUB_WORKSPACE}" \ -v "${GITHUB_WORKSPACE}":/data \
-v "${GITHUB_WORKSPACE}/.markdownlint.jsonc":"/config/.markdownlint.jsonc" \
markdownlint/markdownlint \ markdownlint/markdownlint \
-c "/config/.markdownlint.jsonc" \ -c "/data/.markdownlint.jsonc" \
{} + .

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

Loading…
Cancel
Save