Skip to content

[review] メンテナンス画面判定にもrequest.remote_ipを利用するように #26

[review] メンテナンス画面判定にもrequest.remote_ipを利用するように

[review] メンテナンス画面判定にもrequest.remote_ipを利用するように #26

Workflow file for this run

name: Ruby
on:
push:
branches: [main]
pull_request:
jobs:
rspec:
runs-on: ubuntu-latest
env:
BUNDLE_JOBS: 4
BUNDLE_RETRY: 3
strategy:
fail-fast: false
matrix:
ruby: ["3.0", "3.1", "3.2"]
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v3
with:
path: /home/runner/bundle
key: bundle-${{ matrix.ruby }}-${{ hashFiles('**/*.gemspec') }}
restore-keys: |
bundle-${{ matrix.ruby }}-
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run rspec
run: bundle exec rspec