From d11b584abdb887732f77bf862859a0f6c938be31 Mon Sep 17 00:00:00 2001 From: Pierre Millot Date: Fri, 12 Jan 2024 15:45:18 +0100 Subject: [PATCH] leoc --- .github/actions/setup/action.yml | 12 ++++++------ .github/workflows/check.yml | 10 +++++----- .github/workflows/codegen.yml | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index c08e2ab0276..b67e35bd407 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -11,13 +11,13 @@ runs: using: composite steps: - name: Read current GitHub Actions cache version - shell: bash -l + shell: bash -leoc {0} run: | echo "CACHE_VERSION=$(< .github/.cache_version)" >> $GITHUB_ENV # JavaScript for monorepo and tooling - name: Get yarn cache directory path - shell: bash -l + shell: bash -leoc {0} id: yarn-cache-dir run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT @@ -35,17 +35,17 @@ runs: key: node-modules-${{ env.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }} - name: Install JavaScript dependencies - shell: bash -l + shell: bash -leoc {0} run: yarn install - name: Build scripts - shell: bash -l + shell: bash -leoc {0} run: yarn workspace scripts build:cli # JavaScript client deps - name: Get yarn js-client cache directory path if: ${{ inputs.javascript-utils == 'true' }} - shell: bash -l + shell: bash -leoc {0} id: yarn-cache-dir-client run: echo "dir=$(cd clients/algoliasearch-client-javascript && yarn config get cacheFolder)" >> $GITHUB_OUTPUT @@ -66,5 +66,5 @@ runs: - name: Install JavaScript client dependencies if: ${{ inputs.javascript-utils == 'true' }} - shell: bash -l + shell: bash -leoc {0} run: cd clients/algoliasearch-client-javascript && YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 7f0244b072c..77ba6739f6f 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -15,7 +15,7 @@ concurrency: defaults: run: - shell: bash -l + shell: bash -leoc {0} # Uncomment the line below to enable artifacts debugging # env: @@ -49,7 +49,7 @@ jobs: # Computing jobs that should run - name: Setting diff outputs variables id: diff - shell: bash -l + shell: bash -leoc {0} run: | previousCommit=${{ github.event.before }} baseRef=${{ github.base_ref }} @@ -59,12 +59,12 @@ jobs: - name: Compute specs matrix id: spec-matrix - shell: bash -l + shell: bash -leoc {0} run: yarn workspace scripts createMatrix ${{ steps.diff.outputs.ORIGIN_BRANCH }} - name: Compute the client codegen matrix id: gen-matrix - shell: bash -l + shell: bash -leoc {0} run: yarn workspace scripts createMatrix ${{ steps.diff.outputs.ORIGIN_BRANCH }} clients - name: check that custom actions are built @@ -290,7 +290,7 @@ jobs: # JavaScript test deps (needs to be cached because they are huge and inefficient) - name: Get yarn js test cache directory path - shell: bash -l + shell: bash -leoc {0} id: yarn-cache-dir-tests run: echo "dir=$(cd tests/output/javascript && yarn config get cacheFolder)" >> $GITHUB_OUTPUT diff --git a/.github/workflows/codegen.yml b/.github/workflows/codegen.yml index 029292124a0..2c9bac384a5 100644 --- a/.github/workflows/codegen.yml +++ b/.github/workflows/codegen.yml @@ -6,7 +6,7 @@ on: defaults: run: - shell: bash -l + shell: bash -leoc {0} jobs: notification: