From 5a7b64b54704e9747e83a4da77c5b875f4169546 Mon Sep 17 00:00:00 2001 From: Shivam Pandey Date: Sun, 7 Apr 2024 15:50:19 +0530 Subject: [PATCH] testing using cache pip --- .github/workflows/main.yml | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 62e1732..444e1de 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,23 +16,17 @@ jobs: steps: - - name: Checkout code - uses: actions/checkout@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.11' + cache: 'pip' # caching pip dependencies + - run: pip install -r irctc-captcha-solver/requirements.txt - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.11' - - - name: Install Python dependencies - run: | - python -m pip install --upgrade pip - pip install -r irctc-captcha-solver/requirements.txt - - - name: Install Node.js and npm - uses: actions/setup-node@v4 - with: - node-version: '21.7.1' + - name: Install Node.js and npm + uses: actions/setup-node@v4 + with: + node-version: '21.7.1' #- name: Installing Cypress # run: npm install cypress