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

Merge pull request #9 from YunoHost-Apps/github-actions

Try to run package_linter in github actions
This commit is contained in:
Jens Diemer 2020-12-09 20:51:18 +01:00 committed by GitHub
commit 24821b2924
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 0 deletions

20
.github/workflows/package_linter.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: YunoHost apps package linter
on:
schedule:
- cron: '0 8 * * *'
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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 .

1
.gitignore vendored
View file

@ -1,4 +1,5 @@
.* .*
!.github
!.gitignore !.gitignore
__pycache__ __pycache__
secret.txt secret.txt