Skip to content

Commit

Permalink
use uv 5.20 (#256)
Browse files Browse the repository at this point in the history
Co-authored-by: Ellen Agarwal <ellenagarwal897@gmail.com>
  • Loading branch information
eacodegen and bagel897 authored Jan 17, 2025
1 parent 56bb29d commit c7e24ca
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 11 deletions.
5 changes: 0 additions & 5 deletions .envrc

This file was deleted.

3 changes: 1 addition & 2 deletions .github/workflows/cache-warm-up.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ jobs:
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
version: 0.5.20
- run: uv sync --frozen
env:
SETUPTOOLS_SCM_PRETEND_VERSION: "0.0.0"

- name: Setup-pre-commit
run: uv tool install pre-commit --with pre-commit-uv --force-reinstall
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
version: 0.4
version: 0.5.20
- run: uv sync --frozen
- name: Setup-pre-commit
run: uv tool install pre-commit --with pre-commit-uv --force-reinstall
Expand All @@ -35,8 +35,6 @@ jobs:
key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
- run: uv run --frozen pre-commit run --show-diff-on-failure --color=always --all-files --source ${{ github.event.pull_request.base.sha }} --origin ${{github.event.pull_request.head.sha }} --show-diff-on-failure --color=always
shell: bash
env:
SETUPTOOLS_SCM_PRETEND_VERSION: "0.0.0"
- uses: stefanzweifel/git-auto-commit-action@v5
# Always commit changes even if pre-commit failed
if: always()
Expand Down
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,3 @@ repos:
rev: "0.5.20"
hooks:
- id: uv-lock
entry: bash -c "SETUPTOOLS_SCM_PRETEND_VERSION=0.0.0 uv lock"

0 comments on commit c7e24ca

Please sign in to comment.