Skip to content

Commit

Permalink
Don't use wildcards in windows, they don't seem to work
Browse files Browse the repository at this point in the history
Signed-off-by: Y. Meyer-Norwood <[email protected]>
  • Loading branch information
norwd authored Nov 7, 2024
1 parent 3604cf4 commit 6ebcb18
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 6ebcb18

Please sign in to comment.