mirror of
https://github.com/tubearchivist/tubearchivist.git
synced 2025-01-14 12:50:13 +00:00
remove apt cache
This commit is contained in:
parent
9fe0aa85d0
commit
d4165327df
15
.github/workflows/lint_python.yml
vendored
15
.github/workflows/lint_python.yml
vendored
@ -15,21 +15,6 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Cache apt packages
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
/var/cache/apt
|
||||
/var/lib/apt
|
||||
key: ${{ runner.os }}-apt-${{ hashFiles('**/requirements.txt') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-apt-
|
||||
before-save: |
|
||||
sudo rm -f /var/cache/apt/archives/lock
|
||||
sudo rm -f /var/lib/apt/lists/lock
|
||||
sudo rm -rf /var/cache/apt/archives/partial
|
||||
sudo rm -rf /var/lib/apt/lists/partial
|
||||
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
|
15
.github/workflows/unit_tests.yml
vendored
15
.github/workflows/unit_tests.yml
vendored
@ -16,21 +16,6 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Cache apt packages
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
/var/cache/apt
|
||||
/var/lib/apt
|
||||
key: ${{ runner.os }}-apt-${{ hashFiles('**/requirements.txt') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-apt-
|
||||
before-save: |
|
||||
sudo rm -f /var/cache/apt/archives/lock
|
||||
sudo rm -f /var/lib/apt/lists/lock
|
||||
sudo rm -rf /var/cache/apt/archives/partial
|
||||
sudo rm -rf /var/lib/apt/lists/partial
|
||||
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
|
Loading…
Reference in New Issue
Block a user