freelanders+tax #29
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: Policy Lint | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| policy-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install Markdown linter | |
| run: npm install --global markdownlint-cli@0.39.0 | |
| - name: Validate Markdown formatting | |
| run: | | |
| markdownlint \ | |
| "**/*.md" \ | |
| --ignore "node_modules/**" \ | |
| --ignore "proposals/README.md" \ | |
| --config .markdownlint.json | |
| - name: Validate proposal template usage | |
| run: python scripts/validate_proposals.py | |
| - name: Rights and constitutional compliance check | |
| run: python scripts/charter_compliance_placeholder.py | |
| - name: Policy consistency check | |
| run: python scripts/policy_consistency_check.py | |
| - name: Repository structure check | |
| run: python scripts/validate_structure.py |