From ddb975a0124a5da2d2e2776f1fb1432d6abd7d53 Mon Sep 17 00:00:00 2001 From: Justin Kenyon Date: Thu, 27 Jan 2022 21:20:34 +0100 Subject: [PATCH 1/3] Remove unneeded action steps The bundler-cache option for setting up ruby does the job of running bundle install and caching gems --- .github/workflows/tests.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c9e01e903a6..79acf6e26e7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,18 +11,13 @@ jobs: uses: actions/checkout@v2.4.0 - name: Set up Ruby - uses: actions/setup-ruby@v1.1.3 + uses: ruby/setup-ruby@v1 + with: + bundler-cache: true - name: Set up Node uses: actions/setup-node@v2.5.1 - - name: Restore bundler cache - uses: actions/cache@v2.1.7 - with: - path: vendor/gems - key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} - restore-keys: ${{ runner.os }}-gems- - - name: Bootstrap run: script/bootstrap From b8da8e7dd246f52e8ca040a91a0f13b8e9e6bf32 Mon Sep 17 00:00:00 2001 From: Justin Kenyon Date: Thu, 27 Jan 2022 21:22:24 +0100 Subject: [PATCH 2/3] Create .ruby-version --- .ruby-version | 1 + 1 file changed, 1 insertion(+) create mode 100644 .ruby-version diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 00000000000..fd2a01863fd --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +3.1.0 From 444be045e39ef0cdb85d8898a4f84e204e479e64 Mon Sep 17 00:00:00 2001 From: Justin Kenyon Date: Thu, 27 Jan 2022 21:25:16 +0100 Subject: [PATCH 3/3] Update .ruby-version --- .ruby-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ruby-version b/.ruby-version index fd2a01863fd..a603bb50a29 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.1.0 +2.7.5