From 0ecf9959b8849be33fb5b4b155e9c1faaf966c6d Mon Sep 17 00:00:00 2001 From: James Briggs <35938317+jamescalam@users.noreply.github.com> Date: Fri, 14 Feb 2025 01:39:38 +0400 Subject: [PATCH] fix: workflows --- .github/workflows/docs.yml | 3 ++- .github/workflows/lint.yml | 3 ++- .github/workflows/release.yml | 6 ++++-- .github/workflows/test.yml | 3 ++- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d9e5e593..098611e9 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -34,7 +34,8 @@ jobs: # cache: uv - name: Set up Python ${{ matrix.python-version }} run: uv venv --python 3.13 - cache: uv + with: + cache: uv - name: Install dependencies run: uv pip install -e .[dev] - name: Build docs diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6f0a07b3..22c19947 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -27,7 +27,8 @@ jobs: curl -LsSf https://astral.sh/uv/install.sh | sh - name: Set up Python ${{ matrix.python-version }} run: uv venv --python 3.13 - cache: uv + with: + cache: uv - name: Install dependencies run: uv pip install -e .[dev] - name: Analyzing the code with our lint diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9b437ed7..96c8d011 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,8 @@ jobs: - uses: actions/checkout@v2 - name: Set up Python run: uv venv --python 3.13 - cache: uv + with: + cache: uv - name: Install uv run: curl -LsSf https://astral.sh/uv/install.sh | sh - name: Install dependencies @@ -27,7 +28,8 @@ jobs: - uses: actions/checkout@v2 - name: Set up Python run: uv venv --python 3.13 - cache: uv + with: + cache: uv - name: Install uv run: curl -LsSf https://astral.sh/uv/install.sh | sh - name: Install dependencies diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6b541630..7dccfac7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,7 +44,8 @@ jobs: curl -LsSf https://astral.sh/uv/install.sh | sh - name: Set up Python ${{ matrix.python-version }} run: uv venv --python 3.13 - cache: uv + with: + cache: uv # only needed for local testing # - name: Add Poetry to PATH -- GitLab