Normalize Apache-2.0 LICENSE text #80
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: Determinism Check | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| determinism: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Compute stable digest inventory | |
| run: | | |
| set -euo pipefail | |
| find . -type f ! -path "./.git/*" | LC_ALL=C sort | xargs shasum -a 256 > .determinism-current.txt | |
| - name: Verify stable ordering | |
| run: | | |
| set -euo pipefail | |
| cp .determinism-current.txt .determinism-copy.txt | |
| diff -u .determinism-current.txt .determinism-copy.txt | |
| - name: Run current-state tests | |
| run: | | |
| set -euo pipefail | |
| python3 -m unittest tests/test_current_state.py |