pentoo-overlay/.github/workflows/pkgcheck.yaml
Rick Farina (Zero_Chaos) 83c0fa576d
fix workflow
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)
2024-05-02 13:24:04 -04:00

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 }}