Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
entropy-beauty-scan.yml don't cache pip
  • Loading branch information
akarnokd authored Mar 25, 2026
commit b3632e6f3609cf5aff0903b09211b02f3971a0ab
5 changes: 2 additions & 3 deletions .github/workflows/entropy-beauty-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,18 @@ jobs:
# Only use full history when necessary (push/release or when base commit is needed)
fetch-depth: ${{ github.event_name == 'pull_request_target' && 2 || 0 }}

- name: Cache Python dependencies
- name: Cache pip manually
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-entropy-${{ hashFiles('.github/workflows/compute-entropy.py', 'requirements*.txt') }}
key: ${{ runner.os }}-pip-entropy-${{ hashFiles('.github/workflows/compute-entropy.py') }}
restore-keys: |
${{ runner.os }}-pip-entropy-

- name: Setup Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: '3.12'
cache: 'pip' # extra safety layer

- name: Install Python dependencies (only when needed)
run: |
Expand Down
Loading