From 527bfec7bc602d4cbf0148a7c512da026a07b885 Mon Sep 17 00:00:00 2001 From: Anna Vyalkova Date: Thu, 30 Jun 2022 17:24:47 +0500 Subject: CI: add pkgcheck Signed-off-by: Anna Vyalkova Signed-off-by: Sam James --- .github/workflows/data/layout.conf | 15 +++++++++++++++ .github/workflows/pkgcheck.yml | 23 +++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 .github/workflows/data/layout.conf create mode 100644 .github/workflows/pkgcheck.yml diff --git a/.github/workflows/data/layout.conf b/.github/workflows/data/layout.conf new file mode 100644 index 0000000000..5214a28976 --- /dev/null +++ b/.github/workflows/data/layout.conf @@ -0,0 +1,15 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +masters = gentoo + +# Please keep this reasonably in sync with ::gentoo +manifest-hashes = BLAKE2B SHA512 +manifest-required-hashes = BLAKE2B +update-changelog = false +cache-formats = md5-dict +thin-manifests = true +sign-commits = true +sign-manifests = false +eapis-banned = 0 1 2 3 4 +eapis-deprecated = 5 6 diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml new file mode 100644 index 0000000000..b461f72ab8 --- /dev/null +++ b/.github/workflows/pkgcheck.yml @@ -0,0 +1,23 @@ +name: pkgcheck + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Setup ebuild repository + run: | + mkdir -p metadata + cp .github/workflows/data/layout.conf metadata/ + mkdir -p profiles + echo "prefix" > profiles/repo_name + - name: Run pkgcheck + uses: pkgcore/pkgcheck-action@v1 + with: + args: --keywords=-RedundantVersion,-MissingAccountIdentifier,-OldPackageUpdate -- cgit v1.2.3-65-gdbad