From 482ab7c8779cf984570615ed16c94f309ee87f1f Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Thu, 25 Apr 2024 23:31:08 -0400 Subject: [PATCH] Try with cache --- .gitea/workflows/test.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 2be0568..d1a7cec 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -17,8 +17,16 @@ jobs: apt-get update apt-get install -y nodejs - uses: actions/checkout@v4 + - uses: actions/cache@v2 + with: + path: vendor/bundle + key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} + restore-keys: | + ${{ runner.os }}-gems- - name: Install dependencies - run: bundle install + run: | + bundle config path vendor/bundle + bundle install --jobs 4 --retry 3 - name: autoload run: bin/rails zeitwerk:check - name: lint