[Acceptance Product] Add Info Nullable in Response Parameter and Callback Parameter #933
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: Build | |
on: | |
push: | |
branches: [ '*' ] | |
pull_request: | |
branches: [ '*' ] | |
jobs: | |
test: | |
# See https://github.com/oyindonesia/external-api-docs/pull/189 about the reason of using 20.04 | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
ruby-version: [2.5, 2.6, 2.7] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
- uses: actions/cache@v2 | |
with: | |
path: vendor/bundle | |
key: gems-${{ runner.os }}-${{ matrix.ruby-version }}-${{ hashFiles('**/Gemfile.lock') }} | |
restore-keys: | | |
gems-${{ runner.os }}-${{ matrix.ruby-version }}- | |
gems-${{ runner.os }}- | |
- run: bundle config set deployment 'true' | |
- name: bundle install | |
run: | | |
bundle config path vendor/bundle | |
bundle install --jobs 4 --retry 3 | |
- run: bundle exec middleman build |