Skip to content

Commit

Permalink
👷 (linters): Setup mise, fix checkout depth
Browse files Browse the repository at this point in the history
  • Loading branch information
ladislas committed Dec 17, 2024
1 parent 60149b8 commit 702079d
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 19 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci-fastlane-release_app_store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/ci-fastlane-release_beta_internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/ci-tuist-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/ci-tuist-unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 702079d

Please sign in to comment.