1
0
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:
2024-05-09 15:17:23 +02:00
parent 8a17d09276
commit 6fcc91b506
3 changed files with 35 additions and 0 deletions

15
.github/workflows/pkgcheck.yaml vendored Normal file
View 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
View 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 }}

View File

@@ -1,3 +1,5 @@
![pkgcheck](https://github.com/dguglielmi/sunny-overlay/actions/workflows/pkgcheck.yaml/badge.svg)
# sunny-overlay # sunny-overlay
Sunny-overlay is my personal Gentoo Portage overlay. Sunny-overlay is my personal Gentoo Portage overlay.