fix(data): replace malformed git-hash version rules with real versions #200
Workflow file for this run
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: YAML Lint | |
| on: | |
| push: | |
| paths: | |
| - 'data/**' | |
| - 'cmd/yamlcheck/**' | |
| pull_request: | |
| paths: | |
| - 'data/**' | |
| - 'cmd/yamlcheck/**' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| yaml-check: | |
| name: Validate YAML files | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.23' | |
| cache: true | |
| - name: Run yamlcheck tests | |
| run: go test ./cmd/yamlcheck | |
| - name: Build yamlcheck tool | |
| run: go build -o yamlcheck ./cmd/yamlcheck | |
| - name: Run YAML validation | |
| run: ./yamlcheck data/fingerprints data/vuln data/vuln_en | |
| - name: Upload validation report | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: yaml-lint-report | |
| path: yamlcheck-report.txt | |
| retention-days: 7 |