Skip to content

Generate paths from CI script to further reduce needed templates #8

Generate paths from CI script to further reduce needed templates

Generate paths from CI script to further reduce needed templates #8

name: aggregate_root_mutate
on:
repository_dispatch:
types:
- script
workflow_dispatch:
push:
paths:
- aggregate_root/**
- rails_event_store/**
- ruby_event_store/**
- ruby_event_store-active_record/**
- ruby_event_store-browser/**
- ruby_event_store-rspec/**
- ".github/workflows/aggregate_root_mutate.yml"
- support/**
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- aggregate_root/**
- rails_event_store/**
- ruby_event_store/**
- ruby_event_store-active_record/**
- ruby_event_store-browser/**
- ruby_event_store-rspec/**
- ".github/workflows/aggregate_root_mutate.yml"
- support/**
- "!support/bundler/**"
- "!support/ci/**"
jobs:
mutate:
runs-on: ubuntu-20.04
env:
WORKING_DIRECTORY: aggregate_root
RUBY_VERSION: "${{ matrix.ruby_version }}"
BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}"
services:

Check failure on line 39 in .github/workflows/aggregate_root_mutate.yml

View workflow run for this annotation

GitHub Actions / aggregate_root_mutate

Invalid workflow file

The workflow is not valid. .github/workflows/aggregate_root_mutate.yml (Line: 39, Col: 14): Unexpected value ''
strategy:
fail-fast: false
matrix:
include:
- ruby_version: ruby-3.2
bundle_gemfile: Gemfile
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock
working-directory: "${{ env.WORKING_DIRECTORY }}"
- uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ env.RUBY_VERSION }}"
bundler-cache: true
working-directory: "${{ env.WORKING_DIRECTORY }}"
- run: make mutate-changes
working-directory: "${{ env.WORKING_DIRECTORY }}"