Snippetとして残しておく。
.github/workflows/ci.yaml
に以下のjobを追加する。
name: CI
on: [push]
jobs:
debug:
strategy:
matrix:
os: [ubuntu-latest]
ruby: ['3.1']
runs-on: ${{ matrix.os }}
steps:
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- uses: actions/checkout@v3
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
If no user has connected within 10 minutes after the post-job step started, it will terminate the tmate session and quit gracefully.
とのこと。
Ref.