diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 7b4c6f2..96537c4 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -9,6 +9,8 @@ jobs: matrix: ruby-version: ["3.1", "3.2", "3.3"] rails-version: ["6.1.0", "7.0.0", "7.1.0"] + env: + RAILS_VERSION: ${{ matrix.rails-version }} steps: - uses: actions/checkout@v2 @@ -19,5 +21,3 @@ jobs: bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Run tests run: bundle exec rake - env: - RAILS_VERSION: ${{ matrix.rails-version }}