From bb6f11409d02f42336b20b6920dc182058f3b9ca Mon Sep 17 00:00:00 2001 From: Michael Hashizume Date: Mon, 29 Jan 2024 10:55:23 -0800 Subject: [PATCH] Pin Windows Ruby to 3.2.2 A recent update to the Ruby GitHub Action added Ruby 3.2.3 for Windows: https://github.com/ruby/setup-ruby/pull/566/commits/591bd21fa67511786e99952dc1381fbd56353efe That version of Ruby for Windows bundles OpenSSL 3.2. We bundle OpenSSL 3.0 in puppet-agent and the discrepancy between the two versions of OpenSSL is causing some SSL tests to fail. This commit pins the Ruby version for GitHub runners used in spec tests to 3.2.2. --- .github/workflows/rspec_tests.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rspec_tests.yaml b/.github/workflows/rspec_tests.yaml index bbeabbfe648..1585370a80d 100644 --- a/.github/workflows/rspec_tests.yaml +++ b/.github/workflows/rspec_tests.yaml @@ -18,10 +18,10 @@ jobs: cfg: - {os: ubuntu-latest, ruby: '3.1'} - {os: ubuntu-20.04, ruby: '3.2'} # openssl 1.1.1 - - {os: ubuntu-22.04, ruby: '3.2'} # openssl 3 + - {os: ubuntu-22.04, ruby: '3.2'} # openssl 3.0 - {os: ubuntu-latest, ruby: 'jruby-9.4.3.0'} - {os: windows-2019, ruby: '3.1'} - - {os: windows-2019, ruby: '3.2'} # openssl 3 + - {os: windows-2019, ruby: '3.2.2'} # openssl 3.0 runs-on: ${{ matrix.cfg.os }} steps: