summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Vyalkova <cyber+gentoo@sysrq.in>2022-06-30 17:24:47 +0500
committerSam James <sam@gentoo.org>2022-06-30 16:11:21 +0000
commit527bfec7bc602d4cbf0148a7c512da026a07b885 (patch)
tree5304753d3bf32e981aef00fe189e060a3da4b0f6
parentbootstrap-prefix.sh: fix coreutils check (diff)
downloadprefix-527bfec7.tar.gz
prefix-527bfec7.tar.bz2
prefix-527bfec7.zip
CI: add pkgcheck
Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--.github/workflows/data/layout.conf15
-rw-r--r--.github/workflows/pkgcheck.yml23
2 files changed, 38 insertions, 0 deletions
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