From aea433acb317a8e12f02f2e5025d98849c5eccc2 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 23 May 2024 16:01:27 +0100 Subject: [PATCH] Use `.ruby-version` more widely This ensures it's used consistently by `bundle` and ruby/setup-ruby. --- .github/workflows/tests.yml | 1 - Gemfile | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7ed36262..e4d4e98f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,7 +16,6 @@ jobs: - name: Install Ruby uses: ruby/setup-ruby@943103cae7d3f1bb1e4951d5fcc7928b40e4b742 # v1.177.1 with: - ruby-version: "2.7" bundler-cache: true - name: Run HTML Proofer tests diff --git a/Gemfile b/Gemfile index 530b785c..90891143 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,7 @@ source "https://rubygems.org" +ruby file: ".ruby-version" + gem "github-pages", group: :jekyll_plugins group :development do