pantry/.github/workflows/ci.yml
Max Howell ac5c6ceff3 add more pkg tests (#102)
* more-tests pt.1

* useCellar() is overkill here.

Co-authored-by: Jacob Heider <jacob@tea.xyz>
2022-08-31 15:45:04 -04:00

27 lines
651 B
YAML

name: ci
on: pull_request
# concurrency:
# #TODO group: ${{ github.ref }}
# group: only-one-due-to-versions.txt-generation-requiring-serial-ness
# cancel-in-progress: true
jobs:
get-diff:
runs-on: ubuntu-latest
outputs:
diff: ${{ steps.diff.outputs.diff }}
steps:
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6
id: diff
with:
PATTERNS: projects/**/package.yml
build:
needs: [get-diff]
uses: ./.github/workflows/build.yml
with:
projects: ${{ needs.get-diff.outputs.diff }}
secrets: inherit
if: ${{ needs.get-diff.outputs.diff != '' }}