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 E86A31382C5 for ; Fri, 19 Feb 2021 10:14:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 475F1E0CBF; Fri, 19 Feb 2021 10:14: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 2CD74E0CBF for ; Fri, 19 Feb 2021 10:14:29 +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 1FFD6340F82 for ; Fri, 19 Feb 2021 10:14:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A6C00587 for ; Fri, 19 Feb 2021 10:14:24 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1613646870.ac5ddb0aecc63f1e9b9bb5c76c1cdbb9e074b17d.mgorny@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: .github/workflows/ X-VCS-Repository: repo/proj/guru X-VCS-Files: .github/workflows/pkgcheck.yml X-VCS-Directories: .github/workflows/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ac5ddb0aecc63f1e9b9bb5c76c1cdbb9e074b17d X-VCS-Branch: master Date: Fri, 19 Feb 2021 10:14:24 +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: fb648126-3360-42bb-a84e-17438a990b6d X-Archives-Hash: f456446900f8731868bd88b832e86667 commit: ac5ddb0aecc63f1e9b9bb5c76c1cdbb9e074b17d Author: Andrew Ammerlaan riseup net> AuthorDate: Thu Feb 18 11:14:30 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Feb 18 11:14:30 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ac5ddb0a .github/workflows/pkgcheck.yml: test with the official pkgcore/pkgcheck-action Signed-off-by: Andrew Ammerlaan riseup.net> .github/workflows/pkgcheck.yml | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml index bf3af980..ed18a451 100644 --- a/.github/workflows/pkgcheck.yml +++ b/.github/workflows/pkgcheck.yml @@ -10,22 +10,8 @@ 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 + - name: Checkout code + uses: actions/checkout@v2 + + - name: Run pkgcheck + uses: pkgcore/pkgcheck-action@v1