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