Skip to content

feat: generate JSON schema #109

feat: generate JSON schema

feat: generate JSON schema #109

Workflow file for this run

name: Lint and Generate
on:
pull_request:
push:
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v4
env:
GOBIN: /home/runner/go/bin
with:
go-version: v1.22.x
cache: true
- name: setup
run: |
go install github.com/projectdiscovery/yamldoc-go/cmd/docgen/dstdocgen@latest
- name: lint
run: go run mage.go lint
- name: markdown
run: go run mage.go markdown >> $GITHUB_STEP_SUMMARY