Skip to content

Commit

Permalink
.github/workflows: add pkgcheck actions
Browse files Browse the repository at this point in the history
Signed-off-by: Alfred Wingate <[email protected]>
Closes: #962
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
parona-source authored and thesamesam committed Dec 18, 2023
1 parent 672e5e4 commit 3dcf3e5
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/pkgcheck.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: pkgcheck
on:
push:
branches: [master]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run pkgcheck
uses: pkgcore/pkgcheck-action@v1
17 changes: 17 additions & 0 deletions .github/workflows/pkgcheck_merge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: pkgcheck_merge
on:
pull_request:
branches: [master]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Run pkgcheck
uses: pkgcore/pkgcheck-action@v1
with:
args: --exit warning --commits HEAD^..${{ github.sha }}

0 comments on commit 3dcf3e5

Please sign in to comment.