Skip to content

memoize RedBlackTree::Node#position, RedBlackTree::Node#opposite_posi… #110

memoize RedBlackTree::Node#position, RedBlackTree::Node#opposite_posi…

memoize RedBlackTree::Node#position, RedBlackTree::Node#opposite_posi… #110

Workflow file for this run

name: YARD Docs
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Read Ruby version
id: ruby_version
run: echo "ruby-version=$(cat .ruby-version)" >> $GITHUB_ENV
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.ruby-version }}
bundler-cache: true
- name: Generate YARD docs
run: bundle exec yard doc --no-private
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: doc