diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 7c31958..ff69bea 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -25,6 +25,9 @@ jobs: rails-version: ['5.2.5', '6.0.3.6', '6.1.3.1', 'main'] ruby-version: ['2.5', '2.6', '2.7', '3.0'] + env: + RAILS_VERSION: ${{ matrix.rails-version }} + steps: - uses: actions/checkout@v3 - name: Set up Ruby @@ -33,7 +36,6 @@ jobs: # uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0 with: - rails-version: ${{ matrix.rails-version }} ruby-version: ${{ matrix.ruby-version }} bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Run tests