From e2b4469ef6a2cb2915c0bb3d265c905da6e66ba6 Mon Sep 17 00:00:00 2001 From: Max Mehl Date: Wed, 2 Apr 2025 22:06:36 +0200 Subject: [PATCH] try cache --- .github/workflows/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b07fc3e..6a60383 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,6 +19,14 @@ jobs: run: | echo "poetry_hash=$(md5sum poetry.lock | cut -c -32)" >> $GITHUB_OUTPUT - run: echo "${{ steps.hash.outputs.poetry_hash }}" + - name: Cache poetry + uses: https://github.com/actions/cache@v3 # Action cache + with: # specify with your GOMODCACHE and GOCACHE + path: |- + /root/.cache/pypoetry/virtualenvs + key: poetry_cache-${{ steps.hash.outputs.poetry_hash }} + restore-keys: |- + poetry_cache-${{ steps.hash.outputs.poetry_hash }} - run: poetry install --verbose # test2: