From 702079df34b6bc3a3aef8cb4df8405c3d85923b7 Mon Sep 17 00:00:00 2001 From: Ladislas de Toldi Date: Tue, 17 Dec 2024 13:27:48 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20(linters):=20Setup=20mise,=20fix?= =?UTF-8?q?=20checkout=20depth?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../workflows/ci-fastlane-release_app_store.yml | 10 ++++++---- .../ci-fastlane-release_beta_internal.yml | 10 ++++++---- .github/workflows/ci-tuist-build.yml | 12 +++++++----- .github/workflows/ci-tuist-unit_tests.yml | 14 ++++++++------ 4 files changed, 27 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci-fastlane-release_app_store.yml b/.github/workflows/ci-fastlane-release_app_store.yml index 89334c444..9bb8e2088 100644 --- a/.github/workflows/ci-fastlane-release_app_store.yml +++ b/.github/workflows/ci-fastlane-release_app_store.yml @@ -45,10 +45,12 @@ jobs: BASE_REF: ${{ github.event.pull_request.base.ref }} HEAD_REF: ${{ github.head_ref }} - - name: Setup mise - run: | - echo "$HOME/.local/share/mise/shims" >> $GITHUB_PATH - mise install + - name: Set up mise + uses: jdx/mise-action@v2 + with: + version: 2024.12.4 + install: true + cache: true - uses: actions/cache@v4 with: diff --git a/.github/workflows/ci-fastlane-release_beta_internal.yml b/.github/workflows/ci-fastlane-release_beta_internal.yml index 053da1562..3599f4795 100644 --- a/.github/workflows/ci-fastlane-release_beta_internal.yml +++ b/.github/workflows/ci-fastlane-release_beta_internal.yml @@ -59,10 +59,12 @@ jobs: BASE_REF: ${{ github.event.pull_request.base.ref }} HEAD_REF: ${{ github.head_ref }} - - name: Setup mise - run: | - echo "$HOME/.local/share/mise/shims" >> $GITHUB_PATH - mise install + - name: Set up mise + uses: jdx/mise-action@v2 + with: + version: 2024.12.4 + install: true + cache: true - uses: actions/cache@v4 with: diff --git a/.github/workflows/ci-tuist-build.yml b/.github/workflows/ci-tuist-build.yml index 6590e8ff1..45cda7147 100644 --- a/.github/workflows/ci-tuist-build.yml +++ b/.github/workflows/ci-tuist-build.yml @@ -39,13 +39,15 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - fetch-depth: 1 # shallow clone + fetch-depth: 1 lfs: true - - name: Setup mise - run: | - echo "$HOME/.local/share/mise/shims" >> $GITHUB_PATH - mise install + - name: Set up mise + uses: jdx/mise-action@v2 + with: + version: 2024.12.4 + install: true + cache: true - name: tuist install run: | diff --git a/.github/workflows/ci-tuist-unit_tests.yml b/.github/workflows/ci-tuist-unit_tests.yml index afd51b04c..f000bd60c 100644 --- a/.github/workflows/ci-tuist-unit_tests.yml +++ b/.github/workflows/ci-tuist-unit_tests.yml @@ -33,13 +33,15 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - fetch-depth: 1 # shallow clone - lfs: true + fetch-depth: 1 + lfs: false - - name: Setup mise - run: | - echo "$HOME/.local/share/mise/shims" >> $GITHUB_PATH - mise install + - name: Set up mise + uses: jdx/mise-action@v2 + with: + version: 2024.12.4 + install: true + cache: true - name: tuist install run: |