From 55d34b396e75928b2737c0224d1744b131dbc940 Mon Sep 17 00:00:00 2001 From: fab Date: Sat, 25 Jan 2025 01:19:55 +0100 Subject: [PATCH] Update build-run-validate.yml --- .github/workflows/build-run-validate.yml | 32 ++++++++++++------------ 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build-run-validate.yml b/.github/workflows/build-run-validate.yml index ee840b5..12849d1 100644 --- a/.github/workflows/build-run-validate.yml +++ b/.github/workflows/build-run-validate.yml @@ -39,22 +39,6 @@ jobs: echo "Go installation failed or incorrect version" exit 1 fi - - - name: Install Python Dependencies - run: | - python3 -m venv venv - source venv/bin/activate - pip install --upgrade pip - pip install tqdm - - - name: Cache Python Dependencies - id: cache-pip - uses: actions/cache@v3 - with: - path: ~/.cache/pip - key: pip-${{ runner.os }}-${{ hashFiles('**/requirements.txt') }} - restore-keys: | - pip-${{ runner.os }}- - name: Clone caddy-waf Repository run: | @@ -87,6 +71,22 @@ jobs: exit 1 fi + - name: Install Python Dependencies + run: | + python3 -m venv venv + source venv/bin/activate + pip install --upgrade pip + pip install tqdm + + - name: Cache Python Dependencies + id: cache-pip + uses: actions/cache@v3 + with: + path: ~/.cache/pip + key: pip-${{ runner.os }}-${{ hashFiles('**/requirements.txt') }} + restore-keys: | + pip-${{ runner.os }}- + - name: Retrieve and Initialize IP and DNS Blacklists run: | cd caddy-waf