Skip to content

[HACK] Pruned pkgcheck action #449

[HACK] Pruned pkgcheck action

[HACK] Pruned pkgcheck action #449

Workflow file for this run

name: pkgcheck
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Checkout code
uses: actions/checkout@v4
- name: Install pkgcheck
run: |
pip install --upgrade pip
pip install pkgcore==0.12.17
pip install pkgcheck>=0.10.3
- name: Fetch gentoo repo
run: |
pmaint --verbose sync gentoo
- name: Prune packages from ::gentoo that exist in ::haskell
run: |
for p in $( cd /home/runner/work/gentoo-haskell/gentoo-haskell; ls -d *-*/*/ )
do
echo $p
rm -rfv /home/runner/.cache/pkgcore/repos/gentoo/$p
done
- name: Run pkgcheck
uses: hololeap/pkgcheck-action/check@split-actions-2