Skip to content

Merge pull request #136 from YunoHost-Apps/master-promotion #482

Merge pull request #136 from YunoHost-Apps/master-promotion

Merge pull request #136 from YunoHost-Apps/master-promotion #482

name: YunoHost apps package linter
on:
# Allow to manually trigger the workflow
workflow_dispatch:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install toml pyparsing six jsonschema
- name: 'Clone YunoHost apps package linter'
run: |
git clone --depth=1 https://github.com/YunoHost/package_linter ~/package_linter
- name: 'Run linter'
run: |
~/package_linter/package_linter.py .