Skip to content

Require Rack 3.0+, Ruby 3.1+, bump version to 1.0.0 #44

Require Rack 3.0+, Ruby 3.1+, bump version to 1.0.0

Require Rack 3.0+, Ruby 3.1+, bump version to 1.0.0 #44

Workflow file for this run

name: CI
on:
push:
pull_request:
schedule:
- cron: '0 0 1 * *' # at 00:00 on the 1st of every month
jobs:
test:
name: ruby ${{ matrix.ruby }}, rack ${{ matrix.rack }})
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
ruby:
- 3.1
- 3.2
- 3.3
- ruby-head
- jruby
- truffleruby
rack:
- ~> 3.0.0
- stable
- head
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install Ruby ${{ matrix.ruby }}, install and cache dependencies
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: bundle exec rake
install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ruby
- run: gem build spinels-rack-ssl-enforcer
- run: gem install *.gem