remove specific version install, add checks to stable and testing paths #12
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 | |
| on: | |
| pull_request: | |
| paths-ignore: | |
| - "**.md" | |
| push: | |
| paths-ignore: | |
| - "**.md" | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| - name: Lint | |
| run: | | |
| npm install jsonlint | |
| find spk/ \ | |
| -not -path "*work*" \ | |
| -not -path "spk/transmission/src/settings.json" \ | |
| -not -path "*/wizard_templates/install_uifile" \ | |
| -not -path "*/wizard_templates/upgrade_uifile" \ | |
| -regextype posix-extended \ | |
| -regex '.*(\.json|install_uifile\w*|upgrade_uifile\w*|app/config)' \ | |
| | xargs -i node_modules/jsonlint/lib/cli.js -q -c {}; |