repositories / pi-ext
pi-ext
bugabingas pi extensions
owned by bugabinga
.github/workflows/check.yml
Rawname: check
on:
push:
pull_request_target:
permissions:
contents: read
jobs:
extensions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
if: github.event_name == 'push'
with:
persist-credentials: false
- uses: actions/checkout@v6
if: github.event_name == 'pull_request_target'
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- uses: oven-sh/setup-bun@v2
- uses: hustcer/setup-nu@v3
with:
version: "0.112.2"
- name: Check extensions
run: python3 scripts/extensions.py check
- name: Test extensions
run: python3 scripts/extensions.py test