django-for-runners_ynh/.github/workflows/package_linter.yml

33 lines
645 B
YAML
Raw Normal View History

2020-12-12 19:37:20 +01:00
name: YunoHost apps package linter
on:
2021-10-10 14:35:06 +02:00
push:
2021-10-10 14:38:40 +02:00
branches:
- main
2021-10-10 14:35:06 +02:00
pull_request:
schedule:
- cron: '0 8 * * *'
2020-12-12 19:37:20 +01:00
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ~/.cache/
key: dot-cache-files
2020-12-12 19:37:20 +01:00
- 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
2020-12-12 19:37:20 +01:00
- name: 'Run linter'
run: |
~/package_linter/package_linter.py .