Skip to content

Commit 56581a0

Browse files
committed
Broader XML validation
Remove path restriction. Check *.xml and *.buttonMap in all dirs
1 parent 47be812 commit 56581a0

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎.github/workflows/validate_xml.yml‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# A workflow to validate that submitted buttonMap files are valid XML
2-
32
name: Validate buttonMaps as XML
43

54
# Controls when the workflow will run
@@ -23,10 +22,9 @@ jobs:
2322
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2423
- uses: actions/checkout@v4
2524

26-
# Validates that all files in files/INTO\ Bindings/DeviceButtonMaps/*.buttonMap are valid XML
25+
# Validates that .xml and .buttonMap files are valid XML. The file suffix is case-insentive.
2726
- name: Validate buttonMaps as XML
2827
uses: action-pack/valid-xml@v1
2928
with:
30-
path: "files/INTO\ Bindings/DeviceButtonMaps/"
31-
file-endings: ".buttonMap"
29+
file-endings: ".xml, .buttonMap"
3230

0 commit comments

Comments
 (0)