diff --git a/.github/workflows/pkgcheck.yaml b/.github/workflows/pkgcheck.yaml new file mode 100644 index 00000000000..433273bc72b --- /dev/null +++ b/.github/workflows/pkgcheck.yaml @@ -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 diff --git a/.github/workflows/pkgcheck_merge.yaml b/.github/workflows/pkgcheck_merge.yaml new file mode 100644 index 00000000000..651883127f9 --- /dev/null +++ b/.github/workflows/pkgcheck_merge.yaml @@ -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 }}