fixing cache action
This commit is contained in:
parent
480087df07
commit
fc68f99c86
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -22,7 +22,6 @@ jobs:
|
||||
- name: Start MySQL
|
||||
run: sudo systemctl start mysql.service
|
||||
- uses: actions/cache@v4
|
||||
id: cache
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/poetry.lock') }}
|
||||
@ -36,9 +35,6 @@ jobs:
|
||||
run: |
|
||||
pip install -U pip poetry
|
||||
poetry config virtualenvs.create false
|
||||
- name: Install Dependencies
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: make deps
|
||||
- name: CI
|
||||
env:
|
||||
MYSQL_PASS: root
|
||||
@ -47,4 +43,4 @@ jobs:
|
||||
POSTGRES_PASS: 123456
|
||||
POSTGRES_HOST: 127.0.0.1
|
||||
POSTGRES_PORT: 5432
|
||||
run: make _ci
|
||||
run: make ci
|
||||
|
Loading…
x
Reference in New Issue
Block a user