Skip to content

Fix workflow syntax

Fix workflow syntax #1

Workflow file for this run

---

Check failure on line 1 in .github/workflows/json-schema.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/json-schema.yml

Invalid workflow file

Invalid `steps` value - steps should be list of `uses` or `run` items
# This example file will enable R language checks on push or PR to the main
# branch.
# It will also run the checks every weeknight at midnight UTC
#
# Note the @main in `uses:` on the last line. This will call the latest version
# of the workflow from the `main` brnach in the RMI-PACTA/actions repo. You can
# also specify a tag from that repo, or a commit SHA to pin action versions.
on:
pull_request:
push:
branches: [main]
schedule:
- cron: '0 0 * * 1,2,3,4,5'
workflow_dispatch:
name: Check JSON Schema
jobs:
json-schema:
runs-on: ubuntu-latest
name: JSON Schema Check
steps:
name: check-docs
uses: RMI-PACTA/actions/actions/json-schema/render-docs/action.yml@json-schema
with:
input-files: 'inst/extdata/schema'
outputs: 'inst/extdata/schema'
output-format: html