This commit is contained in:
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user