build(deps): bump actions/setup-python from 5 to 6 #98
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: tests | |
| on: | |
| push: | |
| branches: main | |
| pull_request: | |
| branches: main | |
| env: | |
| PYTHON_VERSION: "3.11" | |
| UV_VERSION: "0.5.13" | |
| jobs: | |
| run-action: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - run: docker build . -t header-validator:latest | |
| - name: Run action | |
| run: | | |
| docker run --workdir /github/workspace -v "/home/runner/work/validate-python-headers/validate-python-headers":"/github/workspace" header-validator:latest 'François-Guillaume Fernandez' 2022 Apache-2.0 src/ __init__.py .github/ '' | |
| docker run --workdir /github/workspace -v "/home/runner/work/validate-python-headers/validate-python-headers":"/github/workspace" header-validator:latest 'François-Guillaume Fernandez' 2022 '' src/ __init__.py .github/ .github/license-notice.txt | |
| deps-sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ env.PYTHON_VERSION }} | |
| architecture: x64 | |
| - uses: astral-sh/setup-uv@v5 | |
| with: | |
| version: ${{ env.UV_VERSION }} | |
| - name: Run dependency sync checker | |
| run: | | |
| uv pip install --system PyYAML | |
| make deps-check | |
| headers: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| persist-credentials: false | |
| - name: Check the headers | |
| uses: frgfm/validate-python-headers@main | |
| with: | |
| license: 'Apache-2.0' | |
| owner: 'François-Guillaume Fernandez' | |
| starting-year: 2022 | |
| folders: 'src' | |
| ignore-files: 'version.py,__init__.py' |