Skip to content

Commit e304687

Browse files
committed
enable cache and improve naming
1 parent 4c4c5de commit e304687

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/lint.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ permissions:
1010

1111
jobs:
1212
ruff:
13-
name: ruff linter
1413
runs-on: ubuntu-latest
1514
steps:
1615
- uses: actions/checkout@v5
1716

18-
- name: Get Ruff Version
17+
- name: Get Ruff version
1918
id: ruff-version
2019
run: echo "version=$(grep -Po '(?<=ruff==)[0-9]+\.[0-9]+\.[0-9]+' pyproject.toml)" >> $GITHUB_OUTPUT
21-
22-
- uses: astral-sh/ruff-action@v3
20+
21+
- name: Run Ruff linter
22+
uses: astral-sh/ruff-action@v3
2323
with:
2424
version: ${{ steps.ruff-version.outputs.version }}

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
cache: "pip" # Cache the pip packages to speed up the workflow
3030
- name: Set up UV
3131
uses: astral-sh/setup-uv@v6
32+
with:
33+
enable-cache: true
3234
- name: Install Dependencies and Package
3335
run: uv sync --extra tests
3436
- name: Run Pytest Checks

0 commit comments

Comments
 (0)