M: Update #38125
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: Lint Filter Lists | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - "**/*.txt" | |
| pull_request: | |
| branches: | |
| - master | |
| paths: | |
| - "**/*.txt" | |
| jobs: | |
| fop: | |
| name: Run FOP to check ordering | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out to repository | |
| uses: actions/checkout@v4 | |
| - name: Run FOP | |
| run: | | |
| chmod +x fop-linux | |
| ./fop-linux --no-commit . | |
| - name: Check for changes | |
| run: | | |
| ! git diff --stat | grep -E "[A-Za-z0-9-]+\.txt" | |
| shell: bash | |
| aglint: | |
| name: Run AGLint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 'lts/*' | |
| - name: Check out to repository | |
| uses: actions/checkout@v4 | |
| - name: Install npm dependencies | |
| run: npm i --verbose || (sleep 15 && npm i --verbose) || (sleep 30 && npm i --verbose) | |
| shell: bash | |
| - name: Run AGLint | |
| run: npm run aglint | |
| shell: bash |