Update mddiffcheck workflow for multiple repos #2374
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 'Check CAP Diffs' | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| mddiffcheck: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Go | |
| uses: actions/setup-go@v2 | |
| with: | |
| go-version: ^1.24 | |
| - run: go install github.com/stellar/mddiffcheck@v1.2.0 | |
| - run: > | |
| mddiffcheck | |
| -repo | |
| 'https://github.com/stellar/stellar-core https://github.com/stellar/stellar-xdr' | |
| core/*.md |