summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/integration.yml43
-rw-r--r--.github/workflows/translations-update.yml9
2 files changed, 35 insertions, 17 deletions
diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml
index 4d4b1c3de..474d69ffc 100644
--- a/.github/workflows/integration.yml
+++ b/.github/workflows/integration.yml
@@ -28,9 +28,12 @@ jobs:
architecture: 'x64'
- name: Cache Python dependencies
id: cache-python
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
- path: ./local
+ path: |
+ ./local
+ ./.nvm
+ ./node_modules
key: python-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements*.txt', 'setup.py') }}
- name: Install Python dependencies
if: steps.cache-python.outputs.cache-hit != 'true'
@@ -63,10 +66,13 @@ jobs:
architecture: 'x64'
- name: Cache Python dependencies
id: cache-python
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
- path: ./local
- key: python-ubuntu-20.04-3.9-${{ hashFiles('requirements*.txt', 'setup.py') }}
+ path: |
+ ./local
+ ./.nvm
+ ./node_modules
+ key: python-ubuntu-20.04-3.9-${{ hashFiles('requirements*.txt', 'setup.py','.nvmrc', 'package.json') }}
- name: Install node dependencies
run: make V=1 node.env
- name: Build themes
@@ -90,10 +96,13 @@ jobs:
architecture: 'x64'
- name: Cache Python dependencies
id: cache-python
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
- path: ./local
- key: python-ubuntu-20.04-3.9-${{ hashFiles('requirements*.txt', 'setup.py') }}
+ path: |
+ ./local
+ ./.nvm
+ ./node_modules
+ key: python-ubuntu-20.04-3.9-${{ hashFiles('requirements*.txt', 'setup.py','.nvmrc', 'package.json') }}
- name: Build documentation
run: |
make V=1 docs.clean docs.html
@@ -129,10 +138,13 @@ jobs:
architecture: 'x64'
- name: Cache Python dependencies
id: cache-python
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
- path: ./local
- key: python-ubuntu-20.04-3.9-${{ hashFiles('requirements*.txt', 'setup.py') }}
+ path: |
+ ./local
+ ./.nvm
+ ./node_modules
+ key: python-ubuntu-20.04-3.9-${{ hashFiles('requirements*.txt', 'setup.py','.nvmrc', 'package.json') }}
- name: weblate & git setup
env:
WEBLATE_CONFIG: ${{ secrets.WEBLATE_CONFIG }}
@@ -171,10 +183,13 @@ jobs:
architecture: 'x64'
- name: Cache Python dependencies
id: cache-python
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
- path: ./local
- key: python-ubuntu-20.04-3.9-${{ hashFiles('requirements*.txt', 'setup.py') }}
+ path: |
+ ./local
+ ./.nvm
+ ./node_modules
+ key: python-ubuntu-20.04-3.9-${{ hashFiles('requirements*.txt', 'setup.py','.nvmrc', 'package.json') }}
- name: Set up QEMU
if: env.DOCKERHUB_USERNAME != null
uses: docker/setup-qemu-action@v1
diff --git a/.github/workflows/translations-update.yml b/.github/workflows/translations-update.yml
index 60a067918..bf1e11813 100644
--- a/.github/workflows/translations-update.yml
+++ b/.github/workflows/translations-update.yml
@@ -22,10 +22,13 @@ jobs:
architecture: 'x64'
- name: Cache Python dependencies
id: cache-python
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
- path: ./local
- key: python-ubuntu-20.04-3.9-${{ hashFiles('requirements*.txt', 'setup.py') }}
+ path: |
+ ./local
+ ./.nvm
+ ./node_modules
+ key: python-ubuntu-20.04-3.9-${{ hashFiles('requirements*.txt', 'setup.py','.nvmrc', 'package.json') }}
- name: weblate & git setup
env:
WEBLATE_CONFIG: ${{ secrets.WEBLATE_CONFIG }}