This action runs pkgcheck over an ebuild repository.
Custom arguments can be any arguments used with pkgcheck scan when running
pkgcheck directly on the command line. For example, to ignore RedundantVersion
results use the following setting:
uses: pkgcore/pkgcheck-action@v1with:
args: --keywords=-RedundantVersionTo enable network checks, you can add --net to args:
uses: pkgcore/pkgcheck-action@v1with:
args: --netFailures occur when error level results are found that match Gentoo CI settings. If any occur they will be displayed again separately from the main pkgcheck output in order to highlight the cause of the failure.
Workflow with no custom arguments:
name: pkgcheckon:
push:
branches: [master]pull_request:
branches: [master]jobs:
build:
runs-on: ubuntu-lateststeps:
- name: Checkout codeuses: actions/checkout@v6
- name: Run pkgcheckuses: pkgcore/pkgcheck-action@v1Workflow with custom pkgcheck arguments:
name: pkgcheckon:
push:
branches: [main]pull_request:
branches: [main]jobs:
build:
runs-on: ubuntu-lateststeps:
- name: Checkout codeuses: actions/checkout@v6
- name: Run pkgcheckuses: pkgcore/pkgcheck-action@v1with:
args: --keywords=-RedundantVersion