chore(deps): lock file maintenance (#297) #595
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: Test tap-socketdev | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - tap_socketdev/** | |
| - tests/** | |
| - noxfile.py | |
| - pyproject.toml | |
| - uv.lock | |
| - .github/workflows/test.yml | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| paths: | |
| - tap_socketdev/** | |
| - tests/** | |
| - noxfile.py | |
| - pyproject.toml | |
| - uv.lock | |
| - .github/workflows/test.yml | |
| workflow_dispatch: | |
| schedule: | |
| # Run weekly on Monday at 12:00 PM UTC | |
| - cron: "0 12 * * 1" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| env: | |
| FORCE_COLOR: "1" | |
| # renovate: datasource=pypi depName=nox | |
| NOX_VERSION: 2025.11.12 | |
| # renovate: datasource=pypi depName=uv | |
| UV_VERSION: 0.9.13 | |
| jobs: | |
| test: | |
| runs-on: ubuntu-24.04 | |
| env: | |
| NOXFORCEPYTHON: ${{ matrix.python-version }} | |
| NOXSESSION: tests | |
| PYO3_USE_ABI3_FORWARD_COMPATIBILITY: "1" | |
| strategy: | |
| fail-fast: false | |
| max-parallel: 1 | |
| matrix: | |
| python-version: | |
| - "3.12" | |
| - "3.13" | |
| - "3.14" | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| - uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4 | |
| with: | |
| version: ${{ env.UV_VERSION }} | |
| - name: Run tests | |
| env: | |
| TAP_SOCKETDEV_API_KEY: ${{ secrets.TAP_SOCKETDEV_API_KEY }} | |
| TAP_SOCKETDEV_START_DATE: ${{ secrets.TAP_SOCKETDEV_START_DATE }} | |
| run: > | |
| uvx | |
| --managed-python | |
| --python ${{ matrix.python-version }} | |
| --with nox==${{ env.NOX_VERSION }} | |
| nox --verbose | |
| typing: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| - uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4 | |
| with: | |
| version: ${{ env.UV_VERSION }} | |
| - name: Run typing checks | |
| run: > | |
| uvx | |
| --no-python-downloads | |
| --with nox==${{ env.NOX_VERSION }} | |
| nox --verbose -t typing |