mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 16:13:21 -04:00
These updates are used for packages which have moved from ::guru to ::gentoo under a different category/name. Pkgcheck only looks for the updated package within ::guru even if it still exists in ::gentoo Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Theo Anderson <telans@posteo.de>
32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
name: pkgcheck
|
|
|
|
on:
|
|
push:
|
|
branches: [ dev ]
|
|
pull_request:
|
|
branches: [ dev ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Python 3.9
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.9
|
|
- name: Install pkgcheck
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install pkgcheck
|
|
- name: Setup master gentoo repository
|
|
run: |
|
|
sudo mkdir -p /var/db/repos/gentoo /etc/portage /var/cache/distfiles
|
|
wget -qO - "https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz" | sudo tar xz -C /var/db/repos/gentoo --strip-components=1
|
|
sudo wget "https://www.gentoo.org/dtd/metadata.dtd" -O /var/cache/distfiles/metadata.dtd
|
|
sudo wget "https://gitweb.gentoo.org/proj/portage.git/plain/cnf/repos.conf" -O /etc/portage/repos.conf
|
|
sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.1 /etc/portage/make.profile
|
|
- name: Test with pkgcheck
|
|
run: |
|
|
pkgcheck scan --exit --checks=-RedundantVersionCheck --keywords=-MissingAccountIdentifier,-OldPackageUpdate
|