diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0eb2235..9a6418d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -42,8 +42,21 @@ jobs: # yamlfmt configuration exclude-files: .github${{ contains(runner.temp, '\') && '\\' || '/' }}testing${{ contains(runner.temp, '\') && '\\' || '/' }}bad.yml include-files: | - **${{ contains(runner.temp, '\') && '\\' || '/' }}*.{yaml,yml} - .github${{ contains(runner.temp, '\') && '\\' || '/' }}testing${{ contains(runner.temp, '\') && '\\' || '/' }}nonexisting.yml + ${{ runner.os == 'Windows' && ' + action.yml + .github\release.yml + .github\labeler.yml + .github\dependabot.yml + .github\workflows\update-latest-tag.yml + .github\workflows\test.yml + .github\workflows\labeler.yml + .github\workflows\audit.yml + .github\testing\bad.yml + .github\testing\nonexisting.yml + ' || ' + **/*.{yaml,yml} + .github/testing/nonexisting.yml + ' }} test_that_fmtya_should_report_missing_yamlfmt_version: if: always()