mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 07:22:38 +01:00
github: add pkgcheck ci (copied from kodi-overlay)
This commit is contained in:
15
.github/workflows/pkgcheck.yaml
vendored
Normal file
15
.github/workflows/pkgcheck.yaml
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
name: pkgcheck
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Run pkgcheck
|
||||||
|
uses: pkgcore/pkgcheck-action@v1
|
||||||
18
.github/workflows/pkgcheck_merge.yaml
vendored
Normal file
18
.github/workflows/pkgcheck_merge.yaml
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
name: pkgcheck_merge
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Run pkgcheck
|
||||||
|
uses: pkgcore/pkgcheck-action@v1
|
||||||
|
with:
|
||||||
|
# RequiredUseDefaults https://github.com/pkgcore/pkgcheck/issues/640
|
||||||
|
args: --exit warning -k ,-RequiredUseDefaults --commits HEAD^..${{ github.sha }}
|
||||||
Reference in New Issue
Block a user