Skip to content

Merge pull request #22 from coreruleset/renovate/major-5-all-major #132

Merge pull request #22 from coreruleset/renovate/major-5-all-major

Merge pull request #22 from coreruleset/renovate/major-5-all-major #132

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@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