From 32098e16cdb450339f7489b0a996c0893d3a9180 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Fri, 3 Jan 2025 21:06:51 -0600 Subject: [PATCH] caching not a good idea for the distance traveled --- .forgejo/workflows/renovate.yaml | 35 -------------------------------- 1 file changed, 35 deletions(-) diff --git a/.forgejo/workflows/renovate.yaml b/.forgejo/workflows/renovate.yaml index 697d62d..94c1a7a 100644 --- a/.forgejo/workflows/renovate.yaml +++ b/.forgejo/workflows/renovate.yaml @@ -26,23 +26,6 @@ jobs: with: show-progress: false - - name: Restore renovate repo cache - uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 - with: - path: | - /tmp/renovate/cache/renovate/repository - key: repo-cache-${{ github.run_id }} - restore-keys: | - repo-cache- - - name: Restore renovate package cache - uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 - with: - path: | - /tmp/renovate/cache/renovate/renovate-cache-sqlite - key: package-cache-${{ github.run_id }} - restore-keys: | - package-cache- - - name: Renovate run: | renovate ${{ env.INPUT_ARGS }} @@ -51,7 +34,6 @@ jobs: LOG_LEVEL: debug RENOVATE_ENDPOINT: ${{ github.server_url }} RENOVATE_PLATFORM: gitea - RENOVATE_REPOSITORY_CACHE: 'enabled' RENOVATE_TOKEN: ${{ github.repository == 'jahanson/renovate-config' && secrets.TOKEN || secrets.GITHUB_TOKEN }} RENOVATE_GIT_AUTHOR: 'Renovate Bot ' RENOVATE_HOST_RULES: |- @@ -60,25 +42,8 @@ jobs: {"matchHost":"ghcr.io","hostType":"docker","username":"${{ sec.github-username }}","password":"${{ inputs.github-token }}"}, {"matchHost":"git.hsn.dev","username":"${{ secrets.DOCKER_USERNAME }}", "token":"${{ secrets.MIRROR_TOKEN }}"} ] - RENOVATE_X_SQLITE_PACKAGE_CACHE: true GIT_AUTHOR_NAME: 'Renovate Bot' GIT_AUTHOR_EMAIL: 'smeagol@hsn.dev' GIT_COMMITTER_NAME: 'Renovate Bot' GIT_COMMITTER_EMAIL: 'smeagol@hsn.dev' INPUT_ARGS: ${{ inputs.args || (github.repository != 'jahanson/renovate-config' && github.repository) || '--autodiscover' }} - - - name: Save renovate repo cache - if: always() && env.RENOVATE_DRY_RUN != 'full' - uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 - with: - path: | - /tmp/renovate/cache/renovate/repository - key: repo-cache-${{ inputs.endpoint }}-${{ github.run_id }} - - - name: Save renovate package cache - if: always() && env.RENOVATE_DRY_RUN != 'full' - uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 - with: - path: | - /tmp/renovate/cache/renovate/renovate-cache-sqlite - key: package-cache-${{ github.run_id }}