mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-04 14:56:16 +01:00
Many pkgcheck tests do not work without full repo history and cannot be run against specific commits. Don't run UnknownProfilePackage on specific commits because it needs the full repo history to check for the package information (and possibly the gentoo repo history too)
23 lines
665 B
YAML
23 lines
665 B
YAML
name: pkgcheck
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Tree-wide pkgcheck error check
|
|
uses: pkgcore/pkgcheck-action@v1
|
|
with:
|
|
args: --exit error -k error,-NonsolvableDepsInStable,-NonsolvableDepsInDev,-NonsolvableDepsInExp
|
|
|
|
- name: Commit pkgcheck warnings
|
|
uses: pkgcore/pkgcheck-action@v1
|
|
with:
|
|
args: --exit warning -k ,-NonsolvableDepsInStable,-NonsolvableDepsInDev,-PotentialStable,-UnknownProfilePackage --commits HEAD^..${{ github.sha }}
|