Skip to content

Ignore new static() PHPStan errors #300

Ignore new static() PHPStan errors

Ignore new static() PHPStan errors #300

name: Validate example Taskfile.yml
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
Validate-Example-Taskfile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '18'
- name: Validate Taskfile.yml
# Also update src/BinaryInstallPlugin.php if changing version
run: |
curl -O https://raw.githubusercontent.com/go-task/task/v3.21.0/docs/static/schema.json
npx ajv-cli validate -s schema.json -d scaffold/Taskfile.yml