name: Build on: [push,pull_request] jobs: build: runs-on: ubuntu-latest strategy: matrix: ruby-version: - 2.0 - 2.6 - 2.7 - 3.0 - ruby-head - jruby-9.1 - jruby-head name: Ruby ${{ matrix.ruby-version }} sample steps: - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} # bundler-cache: true - run: bundle install - env: CONVERT_API_SECRET: ${{ secrets.CONVERTAPI_SECRET }} run: bundle exec rake spec