docs: move act runner cache

This commit is contained in:
Benjamin Labrecque
2026-07-30 15:30:41 +02:00
parent 3d04450f0d
commit 543338f98f
2 changed files with 16 additions and 1 deletions
+2 -1
View File
@@ -23,6 +23,8 @@ concurrency:
env:
# commit tagged ? yes->prod : no->dev
AGEBD_ENV: ${{ github.ref_type == 'tag' && 'prod' || 'dev' }}
UV_CACHE_DIR: /sls/bd/hla/.cache/uv
UV_LINK_MODE: copy
jobs:
deploy:
@@ -56,7 +58,6 @@ jobs:
- name: Run core tests
run: |
export UV_CACHE_DIR="/sls/bd/hla/.cache/uv"
uv run --directory cli pytest
uv run --directory packages/agebd pytest
uv run --directory scripts pytest
+14
View File
@@ -42,6 +42,20 @@ tar -xf node-v20.11.1-linux-x64.tar.xz --strip-components=2 -C ~/.local/bin/ nod
rm node-v20.11.1-linux-x64.tar.xz
```
Change the location of the cache:
```
mkdir -p /sls/bd/hla/.cache/act
```
and edit `/etc/act_runner/config.yaml`
```
cache:
enabled: true
dir: "/sls/bd/hla/.cache/act"
```
## Manually run the runner
```shell