fixing cache action

This commit is contained in:
Waket Zheng 2024-06-06 18:02:58 +08:00
parent 480087df07
commit fc68f99c86
2 changed files with 2 additions and 7 deletions

View File

@ -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

View File

@ -44,5 +44,4 @@ testall: deps _test_all
build: deps
@poetry build
_ci: _check _testall
ci: deps _ci
ci: deps _check _testall