Merge pull request #22 from coreruleset/renovate/major-5-all-major #132
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |