Skip to content

Commit

Permalink
Pass steps in order to reduce needed templates
Browse files Browse the repository at this point in the history
  • Loading branch information
mostlyobvious committed Sep 9, 2023
1 parent 92b5b75 commit cb780ce
Show file tree
Hide file tree
Showing 54 changed files with 401 additions and 583 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/aggregate_root_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,14 @@ jobs:
bundle_gemfile: Gemfile
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
ruby-version: "${{ env.RUBY_VERSION }}"
bundler-cache: true
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- run: make mutate
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
8 changes: 4 additions & 4 deletions .github/workflows/aggregate_root_mutate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ jobs:
with:
fetch-depth: 0
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
ruby-version: "${{ env.RUBY_VERSION }}"
bundler-cache: true
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- run: make mutate-changes
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
10 changes: 6 additions & 4 deletions .github/workflows/aggregate_root_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,14 @@ jobs:
bundle_gemfile: Gemfile
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
ruby-version: "${{ env.RUBY_VERSION }}"
bundler-cache: true
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- run: make test
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
10 changes: 6 additions & 4 deletions .github/workflows/minitest-ruby_event_store_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,14 @@ jobs:
bundle_gemfile: Gemfile
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
ruby-version: "${{ env.RUBY_VERSION }}"
bundler-cache: true
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- run: make mutate
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
8 changes: 4 additions & 4 deletions .github/workflows/minitest-ruby_event_store_mutate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ jobs:
with:
fetch-depth: 0
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
ruby-version: "${{ env.RUBY_VERSION }}"
bundler-cache: true
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- run: make mutate-changes
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
10 changes: 6 additions & 4 deletions .github/workflows/minitest-ruby_event_store_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,14 @@ jobs:
bundle_gemfile: Gemfile
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
ruby-version: "${{ env.RUBY_VERSION }}"
bundler-cache: true
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- run: make test
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
10 changes: 6 additions & 4 deletions .github/workflows/rails_event_store_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,14 @@ jobs:
bundle_gemfile: Gemfile
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
ruby-version: "${{ env.RUBY_VERSION }}"
bundler-cache: true
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- run: make mutate
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
8 changes: 4 additions & 4 deletions .github/workflows/rails_event_store_mutate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ jobs:
with:
fetch-depth: 0
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
ruby-version: "${{ env.RUBY_VERSION }}"
bundler-cache: true
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- run: make mutate-changes
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
10 changes: 6 additions & 4 deletions .github/workflows/rails_event_store_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,14 @@ jobs:
bundle_gemfile: Gemfile.rails_6_0
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
ruby-version: "${{ env.RUBY_VERSION }}"
bundler-cache: true
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- run: make test
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
10 changes: 6 additions & 4 deletions .github/workflows/ruby_event_store-active_record_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,14 @@ jobs:
bundle_gemfile: Gemfile
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
ruby-version: "${{ env.RUBY_VERSION }}"
bundler-cache: true
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- run: make mutate
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
8 changes: 4 additions & 4 deletions .github/workflows/ruby_event_store-active_record_mutate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ jobs:
with:
fetch-depth: 0
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
ruby-version: "${{ env.RUBY_VERSION }}"
bundler-cache: true
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- run: make mutate-changes
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
10 changes: 6 additions & 4 deletions .github/workflows/ruby_event_store-browser_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,14 @@ jobs:
bundle_gemfile: Gemfile
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
ruby-version: "${{ env.RUBY_VERSION }}"
bundler-cache: true
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- run: make mutate
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
8 changes: 4 additions & 4 deletions .github/workflows/ruby_event_store-browser_mutate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ jobs:
with:
fetch-depth: 0
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
ruby-version: "${{ env.RUBY_VERSION }}"
bundler-cache: true
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- run: make mutate-changes
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
36 changes: 19 additions & 17 deletions .github/workflows/ruby_event_store-browser_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ on:
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/ruby_event_store-browser_test.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
- "aggregate_root/**"
- "rails_event_store/**"
- "ruby_event_store/**"
- "ruby_event_store-active_record/**"
- "ruby_event_store-browser/**"
- "ruby_event_store-rspec/**"
- ".github/workflows/ruby_event_store-browser_test.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
Expand Down Expand Up @@ -52,21 +52,23 @@ jobs:
bundle_gemfile: Gemfile.rack_2_0
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
ruby-version: "${{ env.RUBY_VERSION }}"
bundler-cache: true
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
cache-dependency-path: ${{ env.WORKING_DIRECTORY }}/elm/package-lock.json
cache: npm
cache-dependency-path: "${{ env.WORKING_DIRECTORY }}/elm/package-lock.json"
- uses: actions/cache@v3
with:
path: ~/.elm
path: "~/.elm"
key: elm-${{ hashFiles(format('{0}/elm/elm.json', env.WORKING_DIRECTORY)) }}
- run: make install-npm test
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
10 changes: 6 additions & 4 deletions .github/workflows/ruby_event_store-flipper_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,14 @@ jobs:
bundle_gemfile: Gemfile
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
ruby-version: "${{ env.RUBY_VERSION }}"
bundler-cache: true
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- run: make mutate
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
8 changes: 4 additions & 4 deletions .github/workflows/ruby_event_store-flipper_mutate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ jobs:
with:
fetch-depth: 0
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
ruby-version: "${{ env.RUBY_VERSION }}"
bundler-cache: true
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- run: make mutate-changes
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
10 changes: 6 additions & 4 deletions .github/workflows/ruby_event_store-flipper_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,14 @@ jobs:
bundle_gemfile: Gemfile.activesupport_6_0
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
ruby-version: "${{ env.RUBY_VERSION }}"
bundler-cache: true
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- run: make test
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
10 changes: 6 additions & 4 deletions .github/workflows/ruby_event_store-newrelic_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,14 @@ jobs:
bundle_gemfile: Gemfile
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
ruby-version: "${{ env.RUBY_VERSION }}"
bundler-cache: true
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
- run: make mutate
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: "${{ env.WORKING_DIRECTORY }}"
Loading

0 comments on commit cb780ce

Please sign in to comment.