diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 7da072a..a041dd9 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -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