release: remove failed-tag probe from main (#90) #82
This file contains hidden or 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: Docs Generate Check | |
| on: | |
| push: | |
| branches: [main, next] | |
| paths: ["**/*.go", ".gomarkdoc.yml", ".github/workflows/docs-generate.yml"] | |
| pull_request: | |
| paths: ["**/*.go", ".gomarkdoc.yml", ".github/workflows/docs-generate.yml"] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| generate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: ⤵️ Check out code from GitHub | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: ⎔ Set up Go | |
| uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 | |
| with: | |
| go-version: "1.25" | |
| - name: 📝 Generate reference Markdown | |
| run: >- | |
| go tool gomarkdoc --output "$RUNNER_TEMP/ref.md" | |
| ./cmd/zsh-lint ./cmd/zsh-lint-survey ./internal/survey ./internal/rules | |
| - name: ✅ Verify generation is non-empty | |
| run: test -s "$RUNNER_TEMP/ref.md" |