Skip to content

Commit 422d81b

Browse files
update mddiffcheck workflow with support for multiple repos (#1722)
1 parent 88229d7 commit 422d81b

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

.github/workflows/mddiffcheck.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,10 @@ jobs:
1414
- name: Set up Go
1515
uses: actions/setup-go@v2
1616
with:
17-
go-version: ^1.16
18-
- run: go install github.com/stellar/mddiffcheck@v1.1.0
19-
- run: |
20-
failed=0
21-
for f in core/*.md; do
22-
mddiffcheck -repo https://github.com/stellar/stellar-core "$f" || \
23-
mddiffcheck -repo https://github.com/stellar/stellar-xdr "$f" || {
24-
failed=1
25-
}
26-
done
27-
exit $failed
17+
go-version: ^1.24
18+
- run: go install github.com/stellar/mddiffcheck@v1.2.0
19+
- run: >
20+
mddiffcheck
21+
-repo
22+
'https://github.com/stellar/stellar-core https://github.com/stellar/stellar-xdr'
23+
core/*.md

0 commit comments

Comments
 (0)