Skip to content

[fix] add Cipher#auth_data(arg) override (Rails 7.x compat) #115

[fix] add Cipher#auth_data(arg) override (Rails 7.x compat)

[fix] add Cipher#auth_data(arg) override (Rails 7.x compat) #115

name: JOSSL Tests (Provider)
on: [push, pull_request]
env:
JAVA_OPTS: '-Djruby.openssl.provider.register=true -Djruby.openssl.warn=true '
JRUBY_OPTS: '-J-ea -J--add-opens=java.base/java.security=org.jruby.dist -Xjit.threshold=0'
jobs:
maven-test:
runs-on: ubuntu-18.04
strategy:
matrix:
java-version: [ 11, 17 ]
ruby-version: [ jruby-9.3.3.0 ]
fail-fast: false
steps:
- name: checkout
uses: actions/checkout@v2
- name: set up java ${{ matrix.java-version }}
uses: actions/[email protected]
with:
java-version: ${{ matrix.java-version }}
- name: set up ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- name: install bundler
run: jruby -S gem install bundler -v "~>2.2.28"
- name: bundle install
run: jruby -S bundle install
- name: rake test_prepare
run: jruby -rbundler/setup -S rake test_prepare
- name: rake test
run: jruby -rbundler/setup -S rake test