Skip to content

Commit c418cda

Browse files
author
Nikola Stojanovic
committed
wip
1 parent da1ffce commit c418cda

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,17 @@ jobs:
9191
run: sudo xcode-select -s /Applications/Xcode_16.1.app/Contents/Developer
9292

9393
- name: Swift Package Validation
94-
run: swift package diagnose
94+
run: |
95+
echo "=== Validating Package.swift syntax ==="
96+
swift package dump-package > /dev/null
97+
98+
echo "=== Resolving dependencies ==="
99+
swift package resolve
100+
101+
echo "=== Showing dependency tree ==="
102+
swift package show-dependencies
103+
104+
echo "=== Validating build configuration ==="
105+
swift build --dry-run
106+
107+
echo "✅ Package validation completed successfully"

CI_SETUP.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ This document explains the Continuous Integration and Continuous Deployment setu
2828
**Purpose**: Maintain code quality and standards
2929

3030
**Checks**:
31-
- Swift Package validation with diagnostics
31+
- Package.swift syntax validation
32+
- Dependency resolution verification
33+
- Dependency tree analysis
34+
- Build configuration validation (dry run)
3235

3336
### 3. Release Workflow (`.github/workflows/release.yml`)
3437

@@ -79,7 +82,7 @@ This document explains the Continuous Integration and Continuous Deployment setu
7982
## Key Features Inspired by member-ios-app
8083

8184
1. **Comprehensive Testing**: Native macOS Swift testing with code coverage
82-
2. **Code Quality**: Swift package validation and diagnostics
85+
2. **Code Quality**: Swift package validation and dependency analysis
8386
3. **Caching**: Aggressive SPM caching for performance
8487
4. **Security**: CodeQL security scanning (currently disabled - enable Code Scanning in repo settings)
8588
5. **Release Automation**: Comprehensive release process with artifacts

0 commit comments

Comments
 (0)