Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ladislas/feature/tools tuist mise #636

Merged
merged 4 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
Loading