Merge pull request #3 from terraphim/codex/release-tag-fetch-v0.2.1 #4
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: Validate public marketplace pack | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Python | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Check generated manifests | |
| run: python3 scripts/generate_distribution.py --check | |
| - name: Run tests | |
| run: python3 -m unittest discover -s tests -p 'test_*.py' | |
| - name: Verify reproducible AutoClaw archives | |
| run: | | |
| output="$(mktemp -d)" | |
| python3 scripts/generate_distribution.py --autoclaw-dist "$output" | |
| diff -u dist/autoclaw/SHA256SUMS "$output/SHA256SUMS" | |
| - name: Reject whitespace errors | |
| run: git diff --check |