Auto_update #42
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
| # The following workflow is used to verify the UV package build. | |
| # It is triggered on push to the main branch and on pull requests. | |
| # It checks out the pfd-toolkit repository, installs the UV package using the astral-sh/setup-uv action, | |
| # sets up Python using the actions/setup-python action, and installs the pfd-toolkit package with all extras and dev dependencies. | |
| name: Verify UV Package Build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| uv: | |
| name: python | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout pfd-toolkit | |
| uses: actions/checkout@v4 | |
| - name: Install UV | |
| uses: astral-sh/setup-uv@v5 # @v5 is the version of astrals setup script - best to keep it hardcoded. | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: "uv.lock" | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version-file: "pyproject.toml" | |
| - name: Install pfd-toolkit | |
| run: uv sync --all-extras --dev |