Skip to content

Commit

Permalink
build: improve caching by adding uv version to actions
Browse files Browse the repository at this point in the history
By using the version variable dependabot can update tool versions in workflows.
  • Loading branch information
boidolr committed Oct 11, 2024
1 parent 2a9aa17 commit ceefc48
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/continous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,17 @@ jobs:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
runs-on: ubuntu-latest
env:
# renovate: datasource=pypi packageName=uv
UV_VERSION: "0.4.20"

steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4

- uses: astral-sh/setup-uv@c9aa747934b6867b18bf8f6624a8929c4f76147b # v3
with:
enable-cache: true
version: ${{ env.UV_VERSION }}

- name: Install Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
Expand Down

0 comments on commit ceefc48

Please sign in to comment.