ISSUE-398: fail if there are red lines in the Status Report admin pag… #2334
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate example Taskfile.yml | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
Validate-Example-Taskfile: | |
runs-on: ubuntu-24.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.38.0/website/static/schema.json | |
npx ajv-cli validate -s schema.json -d scaffold/Taskfile.yml |