Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
phi-friday committed Mar 1, 2024
1 parent 895d6fd commit 32867da
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,18 @@ jobs:
VERSION=$(cat .python-version)
echo "python_version=${VERSION}" >> $GITHUB_OUTPUT
# - name: Load cached venv
# id: cached-venv-dependencies
# uses: actions/cache@v4
# with:
# path: .venv
# key: venv-${{ runner.os }}-${{ steps.set-python.outputs.python_version }}-${{ hashFiles('**/pyproject.toml') }}

# - name: Install dependencies
# if: steps.cached-venv-dependencies.outputs.cache-hit != 'true'
# run: |
# rye pin cpython@${{ steps.set-python.outputs.python_version }}
# rye config --set-bool behavior.use-uv=false
# rye sync --all-features
- name: Load cached venv
id: cached-venv-dependencies
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.set-python.outputs.python_version }}-${{ hashFiles('**/pyproject.toml') }}

- name: Install dependencies
if: steps.cached-venv-dependencies.outputs.cache-hit != 'true'
run: |
rye pin cpython@${{ steps.set-python.outputs.python_version }}
rye sync --all-features
# - name: Load cached pre-commit
# id: cached-pre-commit-dependencies
Expand Down

0 comments on commit 32867da

Please sign in to comment.