From f4536171eac98f1b279b766afef69308c37cb2ba Mon Sep 17 00:00:00 2001 From: lifehackerhansol Date: Mon, 9 Oct 2023 18:08:38 -0700 Subject: [PATCH] workflow: add dependency caching --- .github/workflows/publish.yml | 4 +--- .github/workflows/test.yml | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2c67f3ab11..013151d3ac 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,9 +17,7 @@ jobs: - uses: ruby/setup-ruby@v1 with: ruby-version: '3.2' - - - name: Install dependencies - run: bundle install + bundler-cache: true - name: Run Jekyll # Build the site using Jekyll diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3f8c10d477..d07511b4c8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,9 +16,7 @@ jobs: - uses: ruby/setup-ruby@v1 with: ruby-version: '3.2' - - - name: Install dependencies - run: bundle install + bundler-cache: true - name: Run Jekyll # Build the site using Jekyll