⚡ perf(ci): le action arrivano dai mirror interni, non da gitea.com

- tutti gli uses: puntano a gitea.pzetatouch.it/actions/*, pull mirror che
  risincronizzano dall'upstream e seguono i tag flottanti
- gitea.com ci serviva a ~32 KB/s: un clone a freddo di setup-node ha tenuto
  fermo il runner 26 minuti con 28 run in coda
- dalla rete interna lo stesso clone a freddo costa 3 s (~12,8 MB/s)
- sparisce anche l'incoerenza per cui actions/cache era preso da github.com
  in tutte e 23 le occorrenze, varianti gitea comprese

Fixes #26 @2h
This commit is contained in:
LucaZanni committed 2026-10-19 17:22:55 +02:00
1 parent 2d5eb0da4b
commit a11fe2af2b
28 files changed
+93 -93

No files matched your search

@@ -30,15 +30,15 @@ jobs:
working-directory: ${{ inputs.working-directory }}
steps:
- name: Checkout
uses: https://github.com/actions/checkout@v7
uses: https://gitea.pzetatouch.it/actions/checkout@v7
- name: Setup Python
uses: https://github.com/actions/setup-python@v7
uses: https://gitea.pzetatouch.it/actions/setup-python@v7
with:
python-version: ${{ inputs.python-version || '3.11' }}
- name: Cache pip
uses: https://github.com/actions/cache@v6
uses: https://gitea.pzetatouch.it/actions/cache@v6
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ inputs.python-version }}-${{ hashFiles('**/pyproject.toml', '**/requirements*.txt') }}
@@ -72,7 +72,7 @@ jobs:
run: pytest --tb=short -q
- name: Login to container registry
uses: https://github.com/docker/login-action@v4
uses: https://gitea.pzetatouch.it/actions/login-action@v4
with:
registry: gitea.pzetatouch.it
username: ${{ secrets.G_USER }}
@@ -107,7 +107,7 @@ jobs:
echo "version=${VERSION}" >> $GITHUB_OUTPUT
- name: Build and push Docker image
uses: https://github.com/docker/build-push-action@v7
uses: https://gitea.pzetatouch.it/actions/build-push-action@v7
with:
push: true
context: ${{ inputs.working-directory }}