YunoHost apps package linter #1109
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: YunoHost apps package linter | |
| on: | |
| # Allow to manually trigger the workflow | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| schedule: | |
| - cron: '0 8 * * *' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: 'Clone YunoHost apps package linter' | |
| run: | | |
| git clone --depth=1 https://github.com/YunoHost/package_linter ~/package_linter | |
| - name: 'Install requirements' | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| python3 -m pip install --upgrade toml jsonschema pyparsing six | |
| - name: 'Run linter' | |
| run: | | |
| ~/package_linter/package_linter.py . | |