From 32867da557a31e22b099c64c8a10b47c4557682e Mon Sep 17 00:00:00 2001 From: phi Date: Sat, 2 Mar 2024 03:59:36 +0900 Subject: [PATCH] fix: test --- .github/workflows/check.yaml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) 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