Skip to content

Commit

Permalink
🔀 Merge branch 'ladislas/feature/tools-tuist-mise'
Browse files Browse the repository at this point in the history
  • Loading branch information
ladislas committed Feb 5, 2024
2 parents 6c3eedc + b496010 commit b3626cd
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci-fastlane-release_beta_internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
with:
fetch-depth: 1 # shallow clone

- name: Install mise tools
uses: jdx/mise-action@v2

- name: bundle install
run: |
bundle install
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-linter-swiftformat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,15 @@ jobs:
fetch-depth: 0 # Fetch all history for all branches and tags
lfs: true

- name: Install mise tools
uses: jdx/mise-action@v2

- name: Run swiftformat
run: |
echo ""
echo "🏃‍♂️ Running swiftformat"
which swiftformat
swiftformat --version
swiftformat --lint --reporter github-actions-log .
4 changes: 4 additions & 0 deletions .github/workflows/ci-linter-swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,15 @@ jobs:
fetch-depth: 0 # Fetch all history for all branches and tags
lfs: true

- name: Install mise tools
uses: jdx/mise-action@v2

- name: Run swiftlint
run: |
echo ""
echo "🏃‍♂️ Running swiftlint on modified files 🤵‍♂️"
which swiftlint
swiftlint --version
git diff origin/main --name-only --diff-filter=AMCR \
Expand Down
21 changes: 13 additions & 8 deletions .github/workflows/ci-system-upgrade_tools_and_clean.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,25 @@ jobs:
with:
fetch-depth: 1 # shallow clone

- name: Install mise tools
uses: jdx/mise-action@v2

- name: Tools' versions before
run: |
which xcodebuild
xcodebuild -version
which tuist
tuist version
which fastlane
fastlane --version
which swiftlint
swiftlint --version
which swift-format
swift-format --version
which swiftformat
swiftformat --version
which bundle
bundle --version
Expand All @@ -50,7 +56,6 @@ jobs:
run: |
brew update
brew upgrade
brew install [email protected]
brew cleanup -s --prune=all
- name: Upgrade bundle
Expand All @@ -70,17 +75,17 @@ jobs:
which xcodebuild
xcodebuild -version
which fastlane
fastlane --version
which tuist
tuist version
which fastlane
fastlane --version
which swiftlint
swiftlint --version
which swift-format
swift-format --version
which swiftformat
swiftformat --version
which bundle
bundle --version
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-tuist-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
fetch-depth: 1 # shallow clone
lfs: true

- name: Install mise tools
uses: jdx/mise-action@v2

- name: tuist fetch
run: |
TUIST_TURN_OFF_LINTERS=TRUE tuist fetch
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-tuist-unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
fetch-depth: 1 # shallow clone
lfs: true

- name: Install mise tools
uses: jdx/mise-action@v2

- name: tuist fetch
run: |
tuist fetch
Expand Down
4 changes: 4 additions & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[tools]
tuist = "3.42.2"
swiftlint = "0.53.0"
swiftformat = "0.53.1"

0 comments on commit b3626cd

Please sign in to comment.