fix: fix failure to resize match listing on VimResized #234
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ruby | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
style: | |
runs-on: ubuntu-22.04 | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jidicula/[email protected] | |
with: | |
clang-format-version: "18" | |
check-path: ruby | |
test: | |
runs-on: ubuntu-22.04 | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install libraries | |
run: | | |
set -x | |
sudo apt-get update -q || : | |
sudo apt-get install --no-install-recommends -q -y build-essential ruby-dev bundler | |
- name: Build extension | |
run: | | |
pushd ./ruby/command-t/ext/command-t | |
ruby extconf.rb --vendor | |
make | |
popd | |
- name: Install dependencies | |
run: bundle install | |
- name: Run tests | |
run: bundle exec rspec -Iruby |