Fix code examples syntax highlighting in YARD documentation #14
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
# validate Ruby 1.9 | |
name: serpapi-ruby-sanity-2 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby-version: ['2.2', '2.6'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby ${{ matrix.ruby-version }} | |
uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
- name: demo | |
env: | |
API_KEY: ${{ secrets.API_KEY }} | |
run: | | |
gem build serpapi.gemspec | |
gem install ./serpapi-*.gem | |
ruby oobt/demo.rb |