mirror of
https://github.com/YunoHost-Apps/homeassistant_ynh.git
synced 2024-09-03 19:26:16 +02:00
Create package_linter.yml
This commit is contained in:
parent
20c1b3839f
commit
f0aefdc0a2
1 changed files with 23 additions and 0 deletions
23
.github/workflows/package_linter.yml
vendored
Normal file
23
.github/workflows/package_linter.yml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
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
|
||||
|
||||
- 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 .
|
Loading…
Add table
Reference in a new issue