Skip to content

Commit 2d0ef5a

Browse files
committed
Fix CI config
1 parent 629aa7f commit 2d0ef5a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
uses: actions/cache@v2
4242
with:
4343
path: Tools/.build
44-
key: ${{ runner.os }}-${{ matrix.xcode_version }}-1-spm-${{ hashFiles('Tools/Package.resolved') }}
45-
restore-keys: ${{ runner.os }}-${{ matrix.xcode_version }}-1-spm-
44+
key: ${{ runner.os }}-${{ matrix.xcode_version }}-2-spm-${{ hashFiles('Tools/Package.resolved') }}
45+
restore-keys: ${{ runner.os }}-${{ matrix.xcode_version }}-2-spm-
4646

4747
- name: Get CocoaPods cache
4848
id: cocoapods-cache
@@ -65,6 +65,8 @@ jobs:
6565

6666
- name: Validation
6767
run: make all && [ -z "$(git status --porcelain)" ] && make lint
68+
env:
69+
SPM_FORCE_BUILD: 1
6870

6971
- name: Generate snapshots
7072
run: set -o pipefail && xcodebuild build-for-testing test-without-building -workspace Example/Example.xcworkspace -scheme SampleApp -configuration Release -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 12 Pro' ENABLE_TESTABILITY=YES | xcpretty -c

0 commit comments

Comments
 (0)