feat/add_exchange_messages_from_v1_13 #625
Workflow file for this run
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: | |
pull_request: | |
branches: ["*"] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby-version: [2.7, 3.2] # Removed version 3.3 for now because it started to fail due to dependencies issue | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
# Commenting out the use of cache@v2 because we start using the `bundler-cache` option from setup-ruby@v1 | |
# - 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 }}- | |
# Commenting out the configuration of `deployment` option because setup-ruby@v1 used this option by default if a Gemfile.lock is present | |
# - run: bundle config set deployment 'true' | |
# Commenting out the bundle install step because it is executed by setup-ruby@v1 | |
# - name: bundle install | |
# run: | | |
# bundle config path vendor/bundle | |
# bundle install --jobs 4 --retry 3 | |
- run: bundle exec middleman build |