1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/scrutiny_ynh.git synced 2024-09-03 20:16:24 +02:00
scrutiny_ynh/.github/workflows/package_linter.yml

32 lines
725 B
YAML
Raw Normal View History

2023-03-06 21:25:34 +01:00
name: YunoHost apps package linter
on:
# Allow to manually trigger the workflow
workflow_dispatch:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
2024-03-14 12:34:25 +01:00
- uses: actions/checkout@v4
2023-03-06 21:25:34 +01:00
- name: Set up Python
2024-03-14 12:34:25 +01:00
uses: actions/setup-python@v5
2023-03-06 21:25:34 +01:00
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
2023-03-06 22:32:25 +01:00
pip install toml pyparsing six
2023-03-06 21:25:34 +01:00
- 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 .