From fa80296dc4d2f87151b2f2317130bce66252e238 Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Wed, 9 Dec 2020 20:43:47 +0100 Subject: [PATCH] Try to run package_linter in github actions --- .github/workflows/package_linter.yml | 20 ++++++++++++++++++++ .gitignore | 1 + 2 files changed, 21 insertions(+) create mode 100644 .github/workflows/package_linter.yml diff --git a/.github/workflows/package_linter.yml b/.github/workflows/package_linter.yml new file mode 100644 index 0000000..9498bca --- /dev/null +++ b/.github/workflows/package_linter.yml @@ -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 . diff --git a/.gitignore b/.gitignore index 5717ee2..145be6a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .* +!.github !.gitignore __pycache__ secret.txt