From 6ebcb18e55247242dc61611450eaee08cf1b3b43 Mon Sep 17 00:00:00 2001 From: "Y. Meyer-Norwood" <106889957+norwd@users.noreply.github.com> Date: Fri, 8 Nov 2024 09:17:49 +1300 Subject: [PATCH] Don't use wildcards in windows, they don't seem to work Signed-off-by: Y. Meyer-Norwood <106889957+norwd@users.noreply.github.com> --- .github/workflows/test.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) 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()