Skip to content

Coding style

Coding style #83

Workflow file for this run

---
name: CI
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
schedule:
- cron: '0 4 1 * *'
jobs:
rspec:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
ruby:
- '3.3'
- '3.2'
- '3.1'
- '3.0'
- '2.7'
- 'head'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: RSpec
run: bundle exec rspec
rspec-windows:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
ruby:
- '3.3'
- '3.2'
- '3.1'
- '3.0'
- '2.7'
- 'head'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Bundle
run: |
rm rest-client.gemspec
mv rest-client.windows.gemspec rest-client.gemspec
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: RSpec
run: bundle exec rspec