Skip to content

Merge pull request #877 from cloudfoundry/dependabot/bundler/74.5.x/i… #950

Merge pull request #877 from cloudfoundry/dependabot/bundler/74.5.x/i…

Merge pull request #877 from cloudfoundry/dependabot/bundler/74.5.x/i… #950

name: Run Template Unit Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version: ['3.0', '3.1']
steps:
- uses: actions/checkout@v3
- 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
- name: Build and test bosh templates
run: |
gem install bundle
bundle install --jobs 4 --retry 3
bundle exec rspec spec