Skip to content

fix for Ruby 3.3

fix for Ruby 3.3 #12

Workflow file for this run

name: Run tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.3', '3.1', '2.7']
steps:
- uses: actions/checkout@v3
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Install dependencies
run: bundle install
- name: Install PDFTK-Java
run: sudo apt install -y pdftk-java
- name: Run tests
run: RUBYOPT='--enable-frozen-string-literal --debug-frozen-string-literal' bundle exec rake