Skip to content

Commit

Permalink
test: Show deprecation warning only for ruby-head in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mishina2228 committed Apr 7, 2024
1 parent 28b7776 commit 7bfcf97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
- 3.2
- 3.3
- ruby-head
env:
RUBYOPT: ${{ matrix.ruby == 'ruby-head' && '-W:deprecated' || '' }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -51,6 +53,8 @@ jobs:
- 3.2
- 3.3
- ruby-head
env:
RUBYOPT: ${{ matrix.ruby == 'ruby-head' && '-W:deprecated' || '' }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down

0 comments on commit 7bfcf97

Please sign in to comment.