From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F17D31382C5 for ; Thu, 18 Feb 2021 11:35:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2F556E07F1; Thu, 18 Feb 2021 11:35:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A6CF3E07F1 for ; Thu, 18 Feb 2021 11:35:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5A078340A6A for ; Thu, 18 Feb 2021 11:35:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A8E1C487 for ; Thu, 18 Feb 2021 11:35:25 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1613648072.92160bf38a3d176fb7b187e03c01521472c9ebae.andrewammerlaan@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: .github/workflows/ X-VCS-Repository: proj/sci X-VCS-Files: .github/workflows/pkgcheck.yml X-VCS-Directories: .github/workflows/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 92160bf38a3d176fb7b187e03c01521472c9ebae X-VCS-Branch: master Date: Thu, 18 Feb 2021 11:35:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 40886c30-d60c-4e31-9511-acda7935386d X-Archives-Hash: 00deca5073523a6107c3cf455a6f058f commit: 92160bf38a3d176fb7b187e03c01521472c9ebae Author: Andrew Ammerlaan riseup net> AuthorDate: Thu Feb 18 11:34:32 2021 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Thu Feb 18 11:34:32 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=92160bf3 .github/workflows/pkgcheck.yml: use the official pkgcore/pkgcheck-action now we get nice colored output Signed-off-by: Andrew Ammerlaan riseup.net> .github/workflows/pkgcheck.yml | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml index 3f42f2026..3a20016ac 100644 --- a/.github/workflows/pkgcheck.yml +++ b/.github/workflows/pkgcheck.yml @@ -12,22 +12,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.9 - uses: actions/setup-python@v2 + - name: Checkout code + uses: actions/checkout@v2 + + - name: Run pkgcheck + uses: pkgcore/pkgcheck-action@v1 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.0 /etc/portage/make.profile - - name: Test with pkgcheck - run: | - pkgcheck scan --exit --checks=-RedundantVersionCheck --keywords=-VisibleVcsPkg + args: --keywords=-RedundantVersion,-MissingAccountIdentifier,-OldPackageUpdate,-VisibleVcsPkg