diff --git a/.github/workflows/build-changes.yaml b/.github/workflows/build-changes.yaml index 0c2871a4..8cf55b9f 100644 --- a/.github/workflows/build-changes.yaml +++ b/.github/workflows/build-changes.yaml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python uses: actions/setup-python@v5 with: @@ -42,18 +42,16 @@ jobs: runs-on: windows-latest timeout-minutes: 5 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v7 with: python-version: 3.12 enable-cache: true cache-dependency-glob: | **/pyproject.toml - name: Install package and dependencies - run: | - uv venv - uv pip install '.[dev]' + run: uv sync --extra dev - name: Run all checks shell: cmd run: | diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index d06fee63..c8e8377e 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -19,18 +19,16 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v7 with: python-version: 3.12 enable-cache: true cache-dependency-glob: | **/pyproject.toml - name: Install package and dependencies - run: | - uv venv - uv pip install '.[dev]' + run: uv sync --extra dev format: name: Lint and type check @@ -39,18 +37,16 @@ jobs: timeout-minutes: 2 needs: install steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v7 with: python-version: 3.12 enable-cache: true cache-dependency-glob: | **/pyproject.toml - name: Install package and dependencies - run: | - uv venv - uv pip install '.[dev]' + run: uv sync --extra dev - name: Run ruff format id: ruff-format run: uv run python checks/format_.py @@ -87,17 +83,15 @@ jobs: timeout-minutes: 6 needs: install steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v7 with: python-version: 3.12 enable-cache: true cache-dependency-glob: | **/pyproject.toml - name: Install package and dependencies - run: | - uv venv - uv pip install '.[dev]' + run: uv sync --extra dev - name: Run coverage run: uv run python checks/coverage_.py