From 067f390a5f82b9934285b839a632399ba0dcf194 Mon Sep 17 00:00:00 2001 From: david Date: Mon, 22 Jul 2024 22:48:43 +0200 Subject: [PATCH] no cache --- .forgejo/workflows/test.yml | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index c1d3310..eb43e09 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -5,19 +5,22 @@ jobs: container: ruby:3.3.4 name: Text steps: - # - name: Cache repository - # uses: actions/cache@v4 - # id: cache-repository - # with: - # path: repository - # key: ${{ runner.os }}-repository-${{ github.sha }} - # restore-keys: | - # ${{ runner.os }}-repository- - # - name: Cache bundle - # uses: actions/cache@v4 - # id: cache-bundle - # with: - # path: /usr/local/bundle + - uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1 + with: + ruby-version: '3.3.4' # Not needed with a .ruby-version file + - name: Cache repository + uses: actions/cache@v4 + id: cache-repository + with: + path: repository + key: ${{ runner.os }}-repository-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-repository- + - name: Cache bundle + uses: actions/cache@v4 + id: cache-bundle + with: + path: /usr/local/bundle - name: Checkout repository uses: actions/checkout@v4 with: