build(deps): bump pydantic from 2.13.2 to 2.13.3 (#1753) #3755
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: Lint | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: {} | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | |
| with: | |
| python-version: "3.x" | |
| cache: "pip" | |
| cache-dependency-path: pyproject.toml | |
| - name: deps | |
| run: make dev SIGSTORE_EXTRA=lint | |
| - name: lint | |
| run: make lint | |
| check-readme: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| # NOTE: We intentionally check --help rendering against our minimum Python, | |
| # since it changes slightly between Python versions. | |
| - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | |
| with: | |
| python-version: "3.10" | |
| cache: "pip" | |
| cache-dependency-path: pyproject.toml | |
| - name: deps | |
| run: make dev | |
| - name: check-readme | |
| run: make check-readme | |
| licenses: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| # adapted from Warehouse's bin/licenses | |
| - run: | | |
| for fn in $(find . -type f -name "*.py"); do | |
| if [[ ! "$(head -5 $fn | grep "^ *\(#\|\*\|\/\/\) .* License\(d*\)")" ]]; then | |
| echo "${fn} is missing a license" | |
| exit 1 | |
| fi | |
| done | |
| x509-testcases: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| # NOTE: We intentionally check test certificates against our minimum supported Python. | |
| - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | |
| with: | |
| python-version: "3.10" | |
| cache: "pip" | |
| cache-dependency-path: pyproject.toml | |
| - name: deps | |
| run: make dev | |
| - name: ensure testcase generation does not regress | |
| run: make gen-x509-testcases | |
| all-lints-pass: | |
| if: always() | |
| needs: | |
| - lint | |
| - check-readme | |
| - licenses | |
| - x509-testcases | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: check lint jobs | |
| uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2 | |
| with: | |
| jobs: ${{ toJSON(needs) }} |