diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 230486b..2fc0641 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -25,11 +25,20 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Restore bundle cache + uses: actions/cache@v4 + with: + path: vendor/bundle + key: ${{ runner.os }}-ruby-3.3.0-${{ hashFiles('Gemfile.lock') }} + restore-keys: | + ${{ runner.os }}-ruby-3.3.0- + - name: Install Ruby dependencies run: | bundle config unset deployment bundle config set cache_all 'true' bundle config set cache_path 'vendor/cache' + bundle config set path 'vendor/bundle' bundle config set with 'development test' bundle install --jobs=3 --retry=3