Skip to content

Commit

Permalink
test: Set env only on ruby-head
Browse files Browse the repository at this point in the history
  • Loading branch information
mishina2228 committed Apr 7, 2024
1 parent c2845f7 commit 9a55b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
active_support_version: ~> 7.0.x
env:
ACTIVE_SUPPORT_VERSION: ${{ matrix.active_support_version }}
RUBYOPT: -W:deprecated
RUBYOPT: ${{ matrix.ruby_version == 'ruby-head' && '-W:deprecated' || '' }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down

0 comments on commit 9a55b91

Please sign in to comment.