Skip to content

chore(deps): pin actions/checkout action to 692973e in .github/workfl… #133

chore(deps): pin actions/checkout action to 692973e in .github/workfl…

chore(deps): pin actions/checkout action to 692973e in .github/workfl… #133

Workflow file for this run

name: Lint and Generate
on:
pull_request:
push:
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Install Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # 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