diff --git a/.github/workflows/aggregate_root_coverage.yml b/.github/workflows/aggregate_root_coverage.yml index 3e363f25c9..f9d49079f1 100644 --- a/.github/workflows/aggregate_root_coverage.yml +++ b/.github/workflows/aggregate_root_coverage.yml @@ -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 }}" \ No newline at end of file diff --git a/.github/workflows/aggregate_root_mutate.yml b/.github/workflows/aggregate_root_mutate.yml index ce3eb9b068..8ee71280a4 100644 --- a/.github/workflows/aggregate_root_mutate.yml +++ b/.github/workflows/aggregate_root_mutate.yml @@ -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 }} \ No newline at end of file + working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/aggregate_root_test.yml b/.github/workflows/aggregate_root_test.yml index abe98186f1..f7a099ce23 100644 --- a/.github/workflows/aggregate_root_test.yml +++ b/.github/workflows/aggregate_root_test.yml @@ -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 }} \ No newline at end of file + working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/minitest-ruby_event_store_coverage.yml b/.github/workflows/minitest-ruby_event_store_coverage.yml index b553eccfb0..726a095a82 100644 --- a/.github/workflows/minitest-ruby_event_store_coverage.yml +++ b/.github/workflows/minitest-ruby_event_store_coverage.yml @@ -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 }}" \ No newline at end of file diff --git a/.github/workflows/minitest-ruby_event_store_mutate.yml b/.github/workflows/minitest-ruby_event_store_mutate.yml index 326ace41c4..1dbb422872 100644 --- a/.github/workflows/minitest-ruby_event_store_mutate.yml +++ b/.github/workflows/minitest-ruby_event_store_mutate.yml @@ -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 }}" \ No newline at end of file diff --git a/.github/workflows/minitest-ruby_event_store_test.yml b/.github/workflows/minitest-ruby_event_store_test.yml index daeff0296c..7490fe49a0 100644 --- a/.github/workflows/minitest-ruby_event_store_test.yml +++ b/.github/workflows/minitest-ruby_event_store_test.yml @@ -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 }} \ No newline at end of file + working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/rails_event_store_coverage.yml b/.github/workflows/rails_event_store_coverage.yml index 3579ffa636..50a3bbd714 100644 --- a/.github/workflows/rails_event_store_coverage.yml +++ b/.github/workflows/rails_event_store_coverage.yml @@ -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 }}" \ No newline at end of file diff --git a/.github/workflows/rails_event_store_mutate.yml b/.github/workflows/rails_event_store_mutate.yml index 908fa79628..89ba8dd052 100644 --- a/.github/workflows/rails_event_store_mutate.yml +++ b/.github/workflows/rails_event_store_mutate.yml @@ -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 }} \ No newline at end of file + working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/rails_event_store_test.yml b/.github/workflows/rails_event_store_test.yml index 5f6ca7f6ef..687edc6817 100644 --- a/.github/workflows/rails_event_store_test.yml +++ b/.github/workflows/rails_event_store_test.yml @@ -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 }} \ No newline at end of file + working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-active_record_coverage.yml b/.github/workflows/ruby_event_store-active_record_coverage.yml index c7af639306..607d42923f 100644 --- a/.github/workflows/ruby_event_store-active_record_coverage.yml +++ b/.github/workflows/ruby_event_store-active_record_coverage.yml @@ -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 }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-active_record_mutate.yml b/.github/workflows/ruby_event_store-active_record_mutate.yml index 954d3ceb29..c4286c43c6 100644 --- a/.github/workflows/ruby_event_store-active_record_mutate.yml +++ b/.github/workflows/ruby_event_store-active_record_mutate.yml @@ -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 }} \ No newline at end of file + working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-browser_coverage.yml b/.github/workflows/ruby_event_store-browser_coverage.yml index dfa6f37631..a9fcd70eb2 100644 --- a/.github/workflows/ruby_event_store-browser_coverage.yml +++ b/.github/workflows/ruby_event_store-browser_coverage.yml @@ -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 }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-browser_mutate.yml b/.github/workflows/ruby_event_store-browser_mutate.yml index 13015e829b..c1fd80f906 100644 --- a/.github/workflows/ruby_event_store-browser_mutate.yml +++ b/.github/workflows/ruby_event_store-browser_mutate.yml @@ -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 }} \ No newline at end of file + working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-browser_test.yml b/.github/workflows/ruby_event_store-browser_test.yml index d242c4557f..89f9873c3e 100644 --- a/.github/workflows/ruby_event_store-browser_test.yml +++ b/.github/workflows/ruby_event_store-browser_test.yml @@ -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: @@ -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 }} \ No newline at end of file + working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-flipper_coverage.yml b/.github/workflows/ruby_event_store-flipper_coverage.yml index fd6ed15472..27c5e45064 100644 --- a/.github/workflows/ruby_event_store-flipper_coverage.yml +++ b/.github/workflows/ruby_event_store-flipper_coverage.yml @@ -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 }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-flipper_mutate.yml b/.github/workflows/ruby_event_store-flipper_mutate.yml index 7427a9f78f..a461497597 100644 --- a/.github/workflows/ruby_event_store-flipper_mutate.yml +++ b/.github/workflows/ruby_event_store-flipper_mutate.yml @@ -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 }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-flipper_test.yml b/.github/workflows/ruby_event_store-flipper_test.yml index 7672529070..d2d74a3a52 100644 --- a/.github/workflows/ruby_event_store-flipper_test.yml +++ b/.github/workflows/ruby_event_store-flipper_test.yml @@ -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 }} \ No newline at end of file + working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-newrelic_coverage.yml b/.github/workflows/ruby_event_store-newrelic_coverage.yml index 8e9f999e9e..190790e3e7 100644 --- a/.github/workflows/ruby_event_store-newrelic_coverage.yml +++ b/.github/workflows/ruby_event_store-newrelic_coverage.yml @@ -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 }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-newrelic_mutate.yml b/.github/workflows/ruby_event_store-newrelic_mutate.yml index 62dc20ccee..5e5663c274 100644 --- a/.github/workflows/ruby_event_store-newrelic_mutate.yml +++ b/.github/workflows/ruby_event_store-newrelic_mutate.yml @@ -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 }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-newrelic_test.yml b/.github/workflows/ruby_event_store-newrelic_test.yml index 6fd6aad922..704ae61819 100644 --- a/.github/workflows/ruby_event_store-newrelic_test.yml +++ b/.github/workflows/ruby_event_store-newrelic_test.yml @@ -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 }} \ No newline at end of file + working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-outbox_coverage.yml b/.github/workflows/ruby_event_store-outbox_coverage.yml index f7a6a9e20d..2dde288756 100644 --- a/.github/workflows/ruby_event_store-outbox_coverage.yml +++ b/.github/workflows/ruby_event_store-outbox_coverage.yml @@ -37,20 +37,22 @@ jobs: bundle_gemfile: Gemfile steps: - uses: actions/checkout@v3 + with: + fetch-depth: 1 - uses: cachix/install-nix-action@v20 with: nix_path: nixpkgs=channel:nixos-unstable - uses: cachix/cachix-action@v12 with: name: railseventstore - authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} + authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - 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: ruby-3.2 + ruby-version: "${{ env.RUBY_VERSION }}" bundler-cache: true - working-directory: ${{ env.WORKING_DIRECTORY }} + working-directory: "${{ env.WORKING_DIRECTORY }}" - run: | nix-shell --run "make mutate" -E" with import { }; @@ -60,4 +62,4 @@ jobs: ]; } " - working-directory: ${{ env.WORKING_DIRECTORY }} \ No newline at end of file + working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-outbox_mutate.yml b/.github/workflows/ruby_event_store-outbox_mutate.yml index 12fdd5872d..21661cc216 100644 --- a/.github/workflows/ruby_event_store-outbox_mutate.yml +++ b/.github/workflows/ruby_event_store-outbox_mutate.yml @@ -42,14 +42,14 @@ jobs: - uses: cachix/cachix-action@v12 with: name: railseventstore - authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} + authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - 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: | nix-shell --run "make mutate-changes" -E" with import { }; @@ -59,4 +59,4 @@ jobs: ]; } " - working-directory: ${{ env.WORKING_DIRECTORY }} \ No newline at end of file + working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-profiler_coverage.yml b/.github/workflows/ruby_event_store-profiler_coverage.yml index b5aa6c1505..462d14df03 100644 --- a/.github/workflows/ruby_event_store-profiler_coverage.yml +++ b/.github/workflows/ruby_event_store-profiler_coverage.yml @@ -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 }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-profiler_mutate.yml b/.github/workflows/ruby_event_store-profiler_mutate.yml index 512516030e..074fddebf3 100644 --- a/.github/workflows/ruby_event_store-profiler_mutate.yml +++ b/.github/workflows/ruby_event_store-profiler_mutate.yml @@ -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 }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-profiler_test.yml b/.github/workflows/ruby_event_store-profiler_test.yml index 219022a937..e97096c5ee 100644 --- a/.github/workflows/ruby_event_store-profiler_test.yml +++ b/.github/workflows/ruby_event_store-profiler_test.yml @@ -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 }} \ No newline at end of file + working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-protobuf_coverage.yml b/.github/workflows/ruby_event_store-protobuf_coverage.yml index 49fd43440d..8e2e2ec800 100644 --- a/.github/workflows/ruby_event_store-protobuf_coverage.yml +++ b/.github/workflows/ruby_event_store-protobuf_coverage.yml @@ -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 }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-protobuf_mutate.yml b/.github/workflows/ruby_event_store-protobuf_mutate.yml index c64f3ab8fd..5b92db8c9d 100644 --- a/.github/workflows/ruby_event_store-protobuf_mutate.yml +++ b/.github/workflows/ruby_event_store-protobuf_mutate.yml @@ -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 }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-protobuf_test.yml b/.github/workflows/ruby_event_store-protobuf_test.yml index 39476ba7c3..9c837a32fd 100644 --- a/.github/workflows/ruby_event_store-protobuf_test.yml +++ b/.github/workflows/ruby_event_store-protobuf_test.yml @@ -48,12 +48,14 @@ jobs: database_url: sqlite3:db.sqlite3 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 }} \ No newline at end of file + working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-rom_coverage.yml b/.github/workflows/ruby_event_store-rom_coverage.yml index 3c9a3f51c4..408679162b 100644 --- a/.github/workflows/ruby_event_store-rom_coverage.yml +++ b/.github/workflows/ruby_event_store-rom_coverage.yml @@ -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 }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-rom_mutate.yml b/.github/workflows/ruby_event_store-rom_mutate.yml index 6c2c4a15a4..d2eb938f3b 100644 --- a/.github/workflows/ruby_event_store-rom_mutate.yml +++ b/.github/workflows/ruby_event_store-rom_mutate.yml @@ -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 }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-rspec_coverage.yml b/.github/workflows/ruby_event_store-rspec_coverage.yml index 773874135f..514cbc6043 100644 --- a/.github/workflows/ruby_event_store-rspec_coverage.yml +++ b/.github/workflows/ruby_event_store-rspec_coverage.yml @@ -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 }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-rspec_mutate.yml b/.github/workflows/ruby_event_store-rspec_mutate.yml index 96522a7a07..0b6d571bef 100644 --- a/.github/workflows/ruby_event_store-rspec_mutate.yml +++ b/.github/workflows/ruby_event_store-rspec_mutate.yml @@ -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 }} \ No newline at end of file + working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-rspec_test.yml b/.github/workflows/ruby_event_store-rspec_test.yml index ceffd6db09..85f4c53eec 100644 --- a/.github/workflows/ruby_event_store-rspec_test.yml +++ b/.github/workflows/ruby_event_store-rspec_test.yml @@ -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 }} \ No newline at end of file + working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-sequel_coverage.yml b/.github/workflows/ruby_event_store-sequel_coverage.yml index e2be9642ca..7809bd5863 100644 --- a/.github/workflows/ruby_event_store-sequel_coverage.yml +++ b/.github/workflows/ruby_event_store-sequel_coverage.yml @@ -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 }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-sequel_mutate.yml b/.github/workflows/ruby_event_store-sequel_mutate.yml index b4a9dff07a..06d8e266e5 100644 --- a/.github/workflows/ruby_event_store-sequel_mutate.yml +++ b/.github/workflows/ruby_event_store-sequel_mutate.yml @@ -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 }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-sidekiq_scheduler_coverage.yml b/.github/workflows/ruby_event_store-sidekiq_scheduler_coverage.yml index 3f7bbc4db5..cddf3cd14c 100644 --- a/.github/workflows/ruby_event_store-sidekiq_scheduler_coverage.yml +++ b/.github/workflows/ruby_event_store-sidekiq_scheduler_coverage.yml @@ -37,20 +37,22 @@ jobs: bundle_gemfile: Gemfile steps: - uses: actions/checkout@v3 + with: + fetch-depth: 1 - uses: cachix/install-nix-action@v20 with: nix_path: nixpkgs=channel:nixos-unstable - uses: cachix/cachix-action@v12 with: name: railseventstore - authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} + authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - 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: ruby-3.2 + ruby-version: "${{ env.RUBY_VERSION }}" bundler-cache: true - working-directory: ${{ env.WORKING_DIRECTORY }} + working-directory: "${{ env.WORKING_DIRECTORY }}" - run: | nix-shell --run "make mutate" -E" with import { }; @@ -60,4 +62,4 @@ jobs: ]; } " - working-directory: ${{ env.WORKING_DIRECTORY }} \ No newline at end of file + working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-sidekiq_scheduler_mutate.yml b/.github/workflows/ruby_event_store-sidekiq_scheduler_mutate.yml index 9a60def047..3fb9ab652c 100644 --- a/.github/workflows/ruby_event_store-sidekiq_scheduler_mutate.yml +++ b/.github/workflows/ruby_event_store-sidekiq_scheduler_mutate.yml @@ -42,14 +42,14 @@ jobs: - uses: cachix/cachix-action@v12 with: name: railseventstore - authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} + authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - 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: | nix-shell --run "make mutate-changes" -E" with import { }; @@ -59,4 +59,4 @@ jobs: ]; } " - working-directory: ${{ env.WORKING_DIRECTORY }} \ No newline at end of file + working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-sidekiq_scheduler_test.yml b/.github/workflows/ruby_event_store-sidekiq_scheduler_test.yml index ebb4e275dd..f2bcbb2621 100644 --- a/.github/workflows/ruby_event_store-sidekiq_scheduler_test.yml +++ b/.github/workflows/ruby_event_store-sidekiq_scheduler_test.yml @@ -48,20 +48,22 @@ jobs: redis_url: redis://localhost:6379/0 steps: - uses: actions/checkout@v3 + with: + fetch-depth: 1 - uses: cachix/install-nix-action@v20 with: nix_path: nixpkgs=channel:nixos-unstable - uses: cachix/cachix-action@v12 with: name: railseventstore - authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} + authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - 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: | nix-shell --run "make test" -E" with import { }; @@ -71,4 +73,4 @@ jobs: ]; } " - working-directory: ${{ env.WORKING_DIRECTORY }} \ No newline at end of file + working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-transformations_coverage.yml b/.github/workflows/ruby_event_store-transformations_coverage.yml index 0b011bc48a..ea5c252c27 100644 --- a/.github/workflows/ruby_event_store-transformations_coverage.yml +++ b/.github/workflows/ruby_event_store-transformations_coverage.yml @@ -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 }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-transformations_mutate.yml b/.github/workflows/ruby_event_store-transformations_mutate.yml index 4f763fb864..57ef0a7f85 100644 --- a/.github/workflows/ruby_event_store-transformations_mutate.yml +++ b/.github/workflows/ruby_event_store-transformations_mutate.yml @@ -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 }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-transformations_test.yml b/.github/workflows/ruby_event_store-transformations_test.yml index 63edf16f0e..875c02c61a 100644 --- a/.github/workflows/ruby_event_store-transformations_test.yml +++ b/.github/workflows/ruby_event_store-transformations_test.yml @@ -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 }} \ No newline at end of file + working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store_coverage.yml b/.github/workflows/ruby_event_store_coverage.yml index d020e292bc..4d37311784 100644 --- a/.github/workflows/ruby_event_store_coverage.yml +++ b/.github/workflows/ruby_event_store_coverage.yml @@ -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 }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store_mutate.yml b/.github/workflows/ruby_event_store_mutate.yml index 461c072034..35b40eec31 100644 --- a/.github/workflows/ruby_event_store_mutate.yml +++ b/.github/workflows/ruby_event_store_mutate.yml @@ -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 }} \ No newline at end of file + working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store_test.yml b/.github/workflows/ruby_event_store_test.yml index ce1fbc33c2..a5a1134c9d 100644 --- a/.github/workflows/ruby_event_store_test.yml +++ b/.github/workflows/ruby_event_store_test.yml @@ -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 }} \ No newline at end of file + working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/support/ci/contrib.yaml.erb b/support/ci/contrib.yaml.erb index 9df3a73153..218b879d8b 100644 --- a/support/ci/contrib.yaml.erb +++ b/support/ci/contrib.yaml.erb @@ -20,7 +20,7 @@ on: - "!support/bundler/**" - "!support/ci/**" jobs: - test: + <%= job_name %>: runs-on: ubuntu-20.04 env: <%= env %> @@ -30,13 +30,4 @@ jobs: include: <%= matrix %> steps: - - uses: actions/checkout@v3 - - 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 test - working-directory: ${{ env.WORKING_DIRECTORY }} \ No newline at end of file + <%= steps %> \ No newline at end of file diff --git a/support/ci/contrib_mutate.yaml.erb b/support/ci/contrib_mutate.yaml.erb deleted file mode 100644 index f841f712ed..0000000000 --- a/support/ci/contrib_mutate.yaml.erb +++ /dev/null @@ -1,44 +0,0 @@ -name: <%= name %> -on: - repository_dispatch: - types: - - script - workflow_dispatch: - push: - paths: - - "<%= working_directory %>/**" - - ".github/workflows/<%= name %>.yml" - - "support/**" - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: [opened, reopened] - paths: - - "<%= working_directory %>/**" - - ".github/workflows/<%= name %>.yml" - - "support/**" - - "!support/bundler/**" - - "!support/ci/**" -jobs: - mutate: - runs-on: ubuntu-20.04 - env: - <%= env %> - strategy: - fail-fast: false - matrix: - include: - <%= matrix %> - 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 }} diff --git a/support/ci/contrib_mutate_with_redis.yaml.erb b/support/ci/contrib_mutate_with_redis.yaml.erb deleted file mode 100644 index 5c5657fc1f..0000000000 --- a/support/ci/contrib_mutate_with_redis.yaml.erb +++ /dev/null @@ -1,59 +0,0 @@ -name: <%= name %> -on: - repository_dispatch: - types: - - script - workflow_dispatch: - push: - paths: - - "<%= working_directory %>/**" - - ".github/workflows/<%= name %>.yml" - - "support/**" - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: [opened, reopened] - paths: - - "<%= working_directory %>/**" - - ".github/workflows/<%= name %>.yml" - - "support/**" - - "!support/bundler/**" - - "!support/ci/**" -jobs: - mutate: - runs-on: ubuntu-20.04 - env: - <%= env %> - strategy: - fail-fast: false - matrix: - include: - <%= matrix %> - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - uses: cachix/install-nix-action@v20 - with: - nix_path: nixpkgs=channel:nixos-unstable - - uses: cachix/cachix-action@v12 - with: - name: railseventstore - authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} - - 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: | - nix-shell --run "make mutate-changes" -E" - with import { }; - mkShell { - inputsFrom = [ - (import ../../support/nix/redis.nix) - ]; - } - " - working-directory: ${{ env.WORKING_DIRECTORY }} \ No newline at end of file diff --git a/support/ci/coverage.yaml.erb b/support/ci/coverage.yaml.erb index 872f2a38ff..4fb46b57f3 100644 --- a/support/ci/coverage.yaml.erb +++ b/support/ci/coverage.yaml.erb @@ -33,13 +33,4 @@ jobs: include: <%= matrix %> steps: - - uses: actions/checkout@v3 - - 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 - working-directory: ${{ env.WORKING_DIRECTORY }} + <%= steps %> \ No newline at end of file diff --git a/support/ci/coverage_with_redis.yaml.erb b/support/ci/coverage_with_redis.yaml.erb deleted file mode 100644 index 03558d3e78..0000000000 --- a/support/ci/coverage_with_redis.yaml.erb +++ /dev/null @@ -1,60 +0,0 @@ -name: <%= name %> -on: - repository_dispatch: - types: - - script - schedule: - - cron: "0 17 * * *" - workflow_dispatch: - push: - paths: - - "<%= working_directory %>/Gemfile.lock" - - ".github/workflows/<%= name %>.yml" - - "support/**" - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: [opened, reopened] - paths: - - "<%= working_directory %>/Gemfile.lock" - - ".github/workflows/<%= name %>.yml" - - "support/**" - - "!support/bundler/**" - - "!support/ci/**" -jobs: - coverage: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - <%= env %> - strategy: - fail-fast: false - matrix: - include: - <%= matrix %> - steps: - - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@v20 - with: - nix_path: nixpkgs=channel:nixos-unstable - - uses: cachix/cachix-action@v12 - with: - name: railseventstore - authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: ${{ env.WORKING_DIRECTORY }} - - uses: ruby/setup-ruby@v1 - with: - ruby-version: ruby-3.2 - bundler-cache: true - working-directory: ${{ env.WORKING_DIRECTORY }} - - run: | - nix-shell --run "make mutate" -E" - with import { }; - mkShell { - inputsFrom = [ - (import ../../support/nix/redis.nix) - ]; - } - " - working-directory: ${{ env.WORKING_DIRECTORY }} \ No newline at end of file diff --git a/support/ci/elm.yaml.erb b/support/ci/elm.yaml.erb deleted file mode 100644 index 456621c1fe..0000000000 --- a/support/ci/elm.yaml.erb +++ /dev/null @@ -1,61 +0,0 @@ -name: <%= name %> -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/<%= name %>.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/<%= name %>.yml" - - "support/**" - - "!support/bundler/**" - - "!support/ci/**" -jobs: - test: - runs-on: ubuntu-20.04 - env: - <%= env %> - strategy: - fail-fast: false - matrix: - include: - <%= matrix %> - steps: - - uses: actions/checkout@v3 - - 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 }} - - uses: actions/setup-node@v3 - with: - node-version: 18 - cache: "npm" - cache-dependency-path: ${{ env.WORKING_DIRECTORY }}/elm/package-lock.json - - uses: actions/cache@v3 - with: - path: ~/.elm - key: elm-${{ hashFiles(format('{0}/elm/elm.json', env.WORKING_DIRECTORY)) }} - - run: make install-npm test - working-directory: ${{ env.WORKING_DIRECTORY }} \ No newline at end of file diff --git a/support/ci/generate b/support/ci/generate index 7907df2cc7..a2d80acd72 100755 --- a/support/ci/generate +++ b/support/ci/generate @@ -63,81 +63,196 @@ class CI GEMFILE_SIDEKIQ_5_2 = "Gemfile.sidekiq_5_2" ] + def checkout(depth: 1) + { "uses" => "actions/checkout@v3", "with" => { "fetch-depth" => depth } } + end + + def verify_lockfile + { + "run" => "test -e ${{ env.BUNDLE_GEMFILE }}.lock", + "working-directory" => "${{ env.WORKING_DIRECTORY }}" + } + end + + def setup_ruby + { + "uses" => "ruby/setup-ruby@v1", + "with" => { + "ruby-version" => "${{ env.RUBY_VERSION }}", + "bundler-cache" => true, + "working-directory" => "${{ env.WORKING_DIRECTORY }}" + } + } + end + + def setup_node + { + "uses" => "actions/setup-node@v3", + "with" => { + "node-version" => 18, + "cache" => "npm", + "cache-dependency-path" => + "${{ env.WORKING_DIRECTORY }}/elm/package-lock.json" + } + } + end + + def cache_elm + { + "uses" => "actions/cache@v3", + "with" => { + "path" => "~/.elm", + "key" => + "elm-${{ hashFiles(format('{0}/elm/elm.json', env.WORKING_DIRECTORY)) }}" + } + } + end + + def setup_nix + { + "uses" => "cachix/install-nix-action@v20", + "with" => { + "nix_path" => "nixpkgs=channel:nixos-unstable", + } + } + end + + def setup_cachix + { + "uses" => "cachix/cachix-action@v12", + "with" => { + "name" => "railseventstore", + "authToken" => "${{ secrets.CACHIX_AUTH_TOKEN }}" + } + } + end + + def make_nix_shell(target, imports: ["redis.nix"]) + { + "run" => <<~SHELL, + nix-shell --run "make #{target}" -E" + with import { }; + mkShell { + inputsFrom = [ + #{imports.map { |i| "(import ../../support/nix/#{i})" }.join("\n")} + ]; + } + " + SHELL + "working-directory" => "${{ env.WORKING_DIRECTORY }}" + } + end + + def make(target) + { + "run" => "make #{target}", + "working-directory" => "${{ env.WORKING_DIRECTORY }}" + } + end + def release_test( name, - template: "test.yaml.erb", - matrix: generate(ruby_version(RUBY_VERSIONS), bundle_gemfile(GEMFILE)) + template: "release.yaml.erb", + matrix: generate(ruby_version(RUBY_VERSIONS), bundle_gemfile(GEMFILE)), + steps: [checkout, verify_lockfile, setup_ruby, make("test")] ) { name: "#{name}_test", working_directory: name, matrix: matrix, - template: template + template: template, + job_name: "test", + steps: steps } end def contrib_test( name, template: "contrib.yaml.erb", - matrix: generate(ruby_version(MRI_RUBY), bundle_gemfile(GEMFILE)) + matrix: generate(ruby_version(MRI_RUBY), bundle_gemfile(GEMFILE)), + steps: [checkout, verify_lockfile, setup_ruby, make("test")] ) { name: "#{name}_test", working_directory: "contrib/#{name}", matrix: matrix, - template: template + template: template, + job_name: "test", + steps: steps } end def release_mutate( name, - template: "mutate.yaml.erb", - matrix: generate(ruby_version(MRI_RUBY.take(1)), bundle_gemfile(GEMFILE)) + template: "release.yaml.erb", + matrix: generate(ruby_version(MRI_RUBY.take(1)), bundle_gemfile(GEMFILE)), + steps: [ + checkout(depth: 0), + verify_lockfile, + setup_ruby, + make("mutate-changes") + ] ) { name: "#{name}_mutate", working_directory: name, matrix: matrix, - template: template + template: template, + job_name: "mutate", + steps: steps } end def contrib_mutate( name, - template: "contrib_mutate.yaml.erb", - matrix: generate(ruby_version(MRI_RUBY.take(1)), bundle_gemfile(GEMFILE)) + template: "contrib.yaml.erb", + matrix: generate(ruby_version(MRI_RUBY.take(1)), bundle_gemfile(GEMFILE)), + steps: [ + checkout(depth: 0), + verify_lockfile, + setup_ruby, + make("mutate-changes") + ] ) { name: "#{name}_mutate", working_directory: "contrib/#{name}", matrix: matrix, - template: template + template: template, + job_name: "mutate", + steps: steps } end def release_coverage( name, template: "coverage.yaml.erb", - matrix: generate(ruby_version(MRI_RUBY.take(1)), bundle_gemfile(GEMFILE)) + matrix: generate(ruby_version(MRI_RUBY.take(1)), bundle_gemfile(GEMFILE)), + steps: [checkout, verify_lockfile, setup_ruby, make("mutate")] ) { name: "#{name}_coverage", working_directory: name, matrix: matrix, - template: template + template: template, + job_name: "coverage", + steps: steps } end def contrib_coverage( name, template: "coverage.yaml.erb", - matrix: generate(ruby_version(MRI_RUBY.take(1)), bundle_gemfile(GEMFILE)) + matrix: generate(ruby_version(MRI_RUBY.take(1)), bundle_gemfile(GEMFILE)), + steps: [checkout, verify_lockfile, setup_ruby, make("mutate")] ) { name: "#{name}_coverage", working_directory: "contrib/#{name}", matrix: matrix, - template: template + template: template, + job_name: "coverage", + steps: steps } end @@ -163,7 +278,14 @@ class CI release_coverage("ruby_event_store-rspec"), release_test( "ruby_event_store-browser", - template: "elm.yaml.erb", + steps: [ + checkout, + verify_lockfile, + setup_ruby, + setup_node, + cache_elm, + make("install-npm test") + ], matrix: generate( ruby_version(RUBY_VERSIONS), @@ -225,11 +347,11 @@ class CI ), contrib_mutate( "ruby_event_store-outbox", - template: "contrib_mutate_with_redis.yaml.erb" + steps: [checkout(depth: 0), setup_nix, setup_cachix, verify_lockfile, setup_ruby, make_nix_shell("mutate-changes")] ), contrib_coverage( "ruby_event_store-outbox", - template: "coverage_with_redis.yaml.erb" + steps: [checkout, setup_nix, setup_cachix, verify_lockfile, setup_ruby, make_nix_shell("mutate")] ), contrib_test("ruby_event_store-profiler"), contrib_mutate("ruby_event_store-profiler"), @@ -311,15 +433,15 @@ class CI redis_url("redis://localhost:6379/0") ) ), - template: "scheduler.yaml.erb" - ), + steps: [checkout, setup_nix, setup_cachix, verify_lockfile, setup_ruby, make_nix_shell("test")] + ), contrib_mutate( "ruby_event_store-sidekiq_scheduler", - template: "contrib_mutate_with_redis.yaml.erb" + steps: [checkout(depth: 0), setup_nix, setup_cachix, verify_lockfile, setup_ruby, make_nix_shell("mutate-changes")] ), contrib_coverage( "ruby_event_store-sidekiq_scheduler", - template: "coverage_with_redis.yaml.erb" + steps: [checkout, setup_nix, setup_cachix, verify_lockfile, setup_ruby, make_nix_shell("mutate")] ), contrib_test("ruby_event_store-transformations"), contrib_mutate("ruby_event_store-transformations"), @@ -390,6 +512,8 @@ class CI name: name, working_directory: gem.fetch(:working_directory), matrix: as_formatted_yaml(gem.fetch(:matrix), indent: 10), + steps: as_formatted_yaml(gem.fetch(:steps, []), indent: 6), + job_name: gem.fetch(:job_name, nil), env: as_formatted_yaml( { "WORKING_DIRECTORY" => gem.fetch(:working_directory) }.merge( diff --git a/support/ci/mutate.yaml.erb b/support/ci/mutate.yaml.erb deleted file mode 100644 index 15f51a2987..0000000000 --- a/support/ci/mutate.yaml.erb +++ /dev/null @@ -1,54 +0,0 @@ -name: <%= name %> -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/<%= name %>.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/<%= name %>.yml" - - "support/**" - - "!support/bundler/**" - - "!support/ci/**" -jobs: - mutate: - runs-on: ubuntu-20.04 - env: - <%= env %> - strategy: - fail-fast: false - matrix: - include: - <%= matrix %> - 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 }} \ No newline at end of file diff --git a/support/ci/test.yaml.erb b/support/ci/release.yaml.erb similarity index 70% rename from support/ci/test.yaml.erb rename to support/ci/release.yaml.erb index 2833cf473c..9ca71f3a5a 100644 --- a/support/ci/test.yaml.erb +++ b/support/ci/release.yaml.erb @@ -30,7 +30,7 @@ on: - "!support/bundler/**" - "!support/ci/**" jobs: - test: + <%= job_name %>: runs-on: ubuntu-20.04 env: <%= env %> @@ -40,13 +40,4 @@ jobs: include: <%= matrix %> steps: - - uses: actions/checkout@v3 - - 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 test - working-directory: ${{ env.WORKING_DIRECTORY }} \ No newline at end of file + <%= steps %> \ No newline at end of file diff --git a/support/ci/scheduler.yaml.erb b/support/ci/scheduler.yaml.erb deleted file mode 100644 index 34f97a0c2e..0000000000 --- a/support/ci/scheduler.yaml.erb +++ /dev/null @@ -1,57 +0,0 @@ -name: <%= name %> -on: - repository_dispatch: - types: - - script - workflow_dispatch: - push: - paths: - - "<%= working_directory %>/**" - - ".github/workflows/<%= name %>.yml" - - "support/**" - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: [opened, reopened] - paths: - - "<%= working_directory %>/**" - - ".github/workflows/<%= name %>.yml" - - "support/**" - - "!support/bundler/**" - - "!support/ci/**" -jobs: - test: - runs-on: ubuntu-20.04 - env: - <%= env %> - strategy: - fail-fast: false - matrix: - include: - <%= matrix %> - steps: - - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@v20 - with: - nix_path: nixpkgs=channel:nixos-unstable - - uses: cachix/cachix-action@v12 - with: - name: railseventstore - authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} - - 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: | - nix-shell --run "make test" -E" - with import { }; - mkShell { - inputsFrom = [ - (import ../../support/nix/redis.nix) - ]; - } - " - working-directory: ${{ env.WORKING_DIRECTORY }} \ No newline at end of file