-
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (27 loc) · 1006 Bytes
/
Copy pathdependency-update.yml
File metadata and controls
34 lines (27 loc) · 1006 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Dependency Updates
on:
schedule:
- cron: '0 0 * * 1' # Weekly on Monday
workflow_dispatch:
jobs:
check-updates:
name: Check for Updates
runs-on: macos-14
steps:
- name: 📥 Checkout Code
uses: actions/checkout@v4
- name: 📦 Check Swift Package Updates
run: |
echo "### 📦 Swift Package Updates Available" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
xcodebuild -resolvePackageDependencies -scheme SSHTerminal
echo "Current packages:" >> $GITHUB_STEP_SUMMARY
swift package show-dependencies || echo "Unable to show dependencies" >> $GITHUB_STEP_SUMMARY
- name: 🔍 Check for Outdated Packages
run: |
# This would check Package.resolved for updates
if [ -f "Package.resolved" ]; then
echo "Package.resolved exists, checking for updates..."
# Add logic to check for newer versions
fi
continue-on-error: true