Skip to content

Commit

Permalink
Remove redundant cache step
Browse files Browse the repository at this point in the history
  • Loading branch information
derailed-dash committed Sep 15, 2024
1 parent 52bb479 commit 5d4b286
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ env:
BACKEND_GCF: https://${{ vars.GCP_REGION }}-${{ secrets.GCP_PROJECT_ID }}.${{ vars.GCP_FUNCTION_URI_SUFFIX }}

jobs:
build-and-test:
build_and_test:
runs-on: ubuntu-latest

# Use the matrix strategy to run build and test steps for both backend_gcf and ui_cr
Expand Down Expand Up @@ -58,19 +58,11 @@ jobs:
head -n 3 $GOOGLE_APPLICATION_CREDENTIALS
shell: bash

# Cache Python dependencies to speed up subsequent runs
- name: Cache pip
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Set up Python 3.10
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: 'pip' # caching pip dependencies

- name: Install dependencies
run: |
Expand Down

0 comments on commit 5d4b286

Please sign in to comment.