mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-03-25 08:55:53 +00:00
37 lines
753 B
YAML
37 lines
753 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- "*"
|
|
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu]
|
|
# We still kind of support Ruby 1.8.7
|
|
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3", "head", "jruby"]
|
|
|
|
name: >-
|
|
${{matrix.os}}:ruby-${{matrix.ruby}}
|
|
runs-on: ${{matrix.os}}-latest
|
|
continue-on-error: ${{matrix.ruby == 'head' || matrix.ruby == 'jruby'}}
|
|
|
|
steps:
|
|
- name: Check out
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up ruby and bundle
|
|
uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: ${{matrix.ruby}}
|
|
bundler-cache: true
|
|
|
|
- name: Run rake
|
|
run: |
|
|
bundle exec rake
|