From 4f65aecbd1c395de564fce5f1644ecd69bf4a2fd Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Mon, 13 Feb 2023 13:53:10 +0100 Subject: [PATCH] CI: Enable `bundler-cache: true` ...and update actions/checkout to latest major. --- .github/workflows/ruby.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 6ac691a..715ea1b 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -1,10 +1,3 @@ -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. -# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake -# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby - name: Ruby on: @@ -23,12 +16,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: .ruby-version - - name: Install dependencies - run: bundle install + bundler-cache: true # 'bundle install' and cache gems - name: Run tests run: bundle exec rake