[fix] SSL session resumption failure due to BC classloader mismatch (… #9
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: net-ssh tests | |
| on: [push, pull_request] | |
| env: | |
| JRUBY_OPTS: '-J-ea' | |
| jobs: | |
| net-ssh: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| ruby-version: [ jruby-10.0.6.0 ] | |
| include: | |
| - ruby-version: jruby-10.0.6.0 | |
| java-version: 21 | |
| fail-fast: false | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: check out net-ssh submodule | |
| run: git submodule update --init net-ssh | |
| - name: set up java ${{ matrix.java-version }} | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: ${{ matrix.java-version }} | |
| distribution: temurin | |
| - name: set up ${{ matrix.ruby-version }} | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby-version }} | |
| - name: bundle install | |
| run: jruby -S bundle install | |
| - name: build jopenssl.jar | |
| run: jruby -rbundler/setup -S rake jar | |
| - name: install net-ssh deps | |
| run: jruby -S rake net-ssh:bundle | |
| - name: net-ssh tests | |
| run: jruby -S rake net-ssh:test | |
| timeout-minutes: 15 |