1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pyinventory_ynh.git synced 2024-09-03 20:16:09 +02:00
pyinventory_ynh/.github/workflows/package_linter.yml
Jens Diemer f5c847b9ad Update via manageprojects
https://github.com/jedie/manageprojects and https://github.com/jedie/cookiecutter_templates/

Also:

* update requirements
* Remove Python 3.7 and 3.8 support
* Add Python 3.11 to test matrix
2022-12-22 10:03:57 +01:00

35 lines
762 B
YAML

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@v4
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install toml
- 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 .