Skip to content

Issue #454: Action to push code to Acquia #1513

Issue #454: Action to push code to Acquia

Issue #454: Action to push code to Acquia #1513

name: Validate example Taskfile.yml
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
Validate-Example-Taskfile:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
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.28.0/docs/static/schema.json
npx ajv-cli validate -s schema.json -d scaffold/Taskfile.yml