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