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 b/Gemfile index c606c9d..d80b00c 100644 --- a/Gemfile +++ b/Gemfile @@ -22,7 +22,7 @@ group :test do end group :development, :test do - gem 'dotenv', '>= 2.8', '< 3.0' + gem 'dotenv', '>= 2.8', '< 4.0' gem 'factory_bot', '~> 6.3' gem 'ffaker', '~> 2.21' gem 'pry-byebug', '>= 3.9', '< 4.0' diff --git a/Gemfile.lock b/Gemfile.lock index 98ea807..9646aef 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -35,7 +35,7 @@ GEM connection_pool (2.4.1) diff-lcs (1.5.1) docile (1.4.0) - dotenv (2.8.1) + dotenv (3.1.2) drb (2.2.1) dry-configurable (1.1.0) dry-core (~> 1.0, < 2) @@ -160,12 +160,13 @@ PLATFORMS x64-mingw-ucrt x64-mingw32 x86_64-darwin-19 + x86_64-darwin-20 x86_64-darwin-21 x86_64-linux DEPENDENCIES bundler (>= 2.5, < 3.0) - dotenv (>= 2.8, < 3.0) + dotenv (>= 2.8, < 4.0) dsu! factory_bot (~> 6.3) ffaker (~> 2.21)