PDFCLOUD-5556 Add digital signature support #227
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: pre-commit | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - develop | |
| - feature-* | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| contents: read | |
| packages: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| version: 0.8.22 | |
| python-version: 3.11 | |
| enable-cache: true | |
| cache-suffix: pre-commit | |
| cache-dependency-glob: uv.lock | |
| - name: Restore venv cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| .venv | |
| key: ${{ runner.os }}-uv-${{ hashFiles('uv.lock') }} | |
| - name: Restore pre-commit cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/pre-commit | |
| key: pre-commit-4|${{ hashFiles('.pre-commit-config.yaml') }} | |
| - name: Synchronize project dependencies | |
| run: uv sync --group dev | |
| - name: Run pre-commit checks | |
| run: uv run pre-commit run --show-diff-on-failure --all-files | |
| env: | |
| SKIP: basedpyright |