File tree Expand file tree Collapse file tree 1 file changed +7
-21
lines changed
Expand file tree Collapse file tree 1 file changed +7
-21
lines changed Original file line number Diff line number Diff line change 99
1010jobs :
1111 build-and-test :
12- runs-on : macos-latest
12+ runs-on : macos-15
1313
1414 steps :
1515 - name : Checkout Repo
1616 uses : actions/checkout@v4
1717
18+ - name : Select Xcode 16.4
19+ run : sudo xcode-select -s /Applications/Xcode_16.4.app
20+
1821 - name : Setup mise & install Tuist
1922 uses : jdx/mise-action@v2
2023
@@ -24,36 +27,19 @@ jobs:
2427 TUIST_VERSION=$(grep '^tuist' mise.toml | sed 's/.*= "\(.*\)"/\1/')
2528 echo "TUIST_VERSION=$TUIST_VERSION" >> $GITHUB_ENV
2629
27- - name : Cache Tuist
28- uses : actions/cache@v4
29- id : cache-tuist
30- with :
31- path : ~/.local/share/mise/installs/tuist/${{ env.TUIST_VERSION }}
32- key : tuist-${{ runner.os }}-${{ env.TUIST_VERSION }}
33-
34- - name : Install Tuist (if not cached)
35- if : steps.cache-tuist.outputs.cache-hit != 'true'
30+ - name : Install Tuist
3631 run : mise install tuist@${{ env.TUIST_VERSION }}
3732
3833 - name : Activate Tuist
3934 run : |
4035 mise use -g tuist@${{ env.TUIST_VERSION }}
4136 tuist version
4237
43- - name : Detect Tuist Project Directory
44- id : detect-tuist-dir
45- run : |
46- echo "Searching for Project.swift..."
47- TUIST_DIR=$(find . -name "Project.swift" -exec dirname {} \; | head -n 1)
48- echo "Found Tuist directory: $TUIST_DIR"
49- echo "tuist_path=$TUIST_DIR" >> $GITHUB_OUTPUT
50-
5138 - name : Install Dependencies with Tuist
52- working-directory : ${{ steps.detect-tuist-dir.outputs.tuist_path }}
5339 run : |
5440 tuist install
5541
56- - name : Run Tests
57- working-directory : ${{ steps.detect-tuist-dir.outputs.tuist_path }}
42+ - name : Build
5843 run : |
44+ tuist generate
5945 tuist build
You can’t perform that action at this time.
0 commit comments