django-for-runners_ynh/.github/workflows/package_linter.yml
2023-04-03 09:03:48 +02:00

32 lines
645 B
YAML

name: YunoHost apps package linter
on:
push:
branches:
- main
pull_request:
schedule:
- cron: '0 8 * * *'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ~/.cache/
key: dot-cache-files
- name: 'Clone YunoHost apps package linter'
run: |
git clone --depth=1 https://github.com/YunoHost/package_linter ~/package_linter
- name: 'Install requirements'
run: |
pip3 install toml
- name: 'Run linter'
run: |
~/package_linter/package_linter.py .