Skip to content

chore: replace goccy/go-yaml with gopkg.in/yaml.v3 #176

chore: replace goccy/go-yaml with gopkg.in/yaml.v3

chore: replace goccy/go-yaml with gopkg.in/yaml.v3 #176

Workflow file for this run

name: Lint and Generate
on:
pull_request:
push:
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install Go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5
env:
GOBIN: /home/runner/go/bin
with:
go-version: v1.21.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