From 82e72969f73e14628aeb97f403115ecee5379b58 Mon Sep 17 00:00:00 2001 From: gangelo Date: Tue, 21 May 2024 20:00:06 -0400 Subject: [PATCH] Add GitHub Actions additional platforms to test --- .github/workflows/ruby.yml | 11 ++++++----- Gemfile.lock | 1 + 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index ab63ece..b25dbb3 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -14,28 +14,29 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-latest, ubuntu-20.04, macos-latest, macos-13, macos-12, windows-latest, windows-2019] ruby: ['3.0.7', '3.1', '3.2', '3.3'] steps: - uses: actions/checkout@v3 + - name: Set timezone on Linux - if: matrix.os == 'ubuntu-latest' + if: contains(matrix.os, 'ubuntu') run: sudo timedatectl set-timezone 'America/New_York' - name: Set timezone on macOS - if: matrix.os == 'macos-latest' + if: contains(matrix.os, 'macos') run: sudo systemsetup -settimezone America/New_York - name: Set timezone on Windows - if: matrix.os == 'windows-latest' + if: contains(matrix.os, 'windows') run: tzutil /s "Eastern Standard Time" - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - bundler-cache: true # runs 'bundle install' and caches installed gems automatically + bundler-cache: true - name: Update RubyGems run: gem update --system diff --git a/Gemfile.lock b/Gemfile.lock index 98ea807..a109df4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -160,6 +160,7 @@ PLATFORMS x64-mingw-ucrt x64-mingw32 x86_64-darwin-19 + x86_64-darwin-20 x86_64-darwin-21 x86_64-linux