Skip to content

Commit aaa83c9

Browse files
committed
Remove unnecessary workflow steps
1 parent db78a44 commit aaa83c9

File tree

2 files changed

+6
-30
lines changed

2 files changed

+6
-30
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,6 @@ jobs:
173173
echo "=== Testing Custom Whitelist ==="
174174
$BINARY_PATH . --whitelist "Foundation,SwiftUI,ArgumentParser" --verbose --exclude-tests
175175
176-
echo "=== Testing Plugin Integration ==="
177-
if swift package plugin --list | grep -q "DependencyAuditPlugin"; then
178-
echo "✅ Plugin is properly registered"
179-
else
180-
echo "⚠️ Plugin not found in list, but core functionality works"
181-
fi
182-
183176
- name: Lint and format check
184177
if: matrix.lint_check
185178
run: |
@@ -190,16 +183,6 @@ jobs:
190183
else
191184
echo "swift-format not available, skipping format check"
192185
fi
193-
194-
echo "=== Build Warnings Check ==="
195-
swift build --configuration release 2>&1 | tee build.log
196-
if grep -q "warning:" build.log; then
197-
echo "⚠️ Build warnings found:"
198-
grep "warning:" build.log
199-
exit 1
200-
else
201-
echo "✅ No build warnings found"
202-
fi
203186
continue-on-error: true
204187

205188
- name: Upload build artifacts

.github/workflows/release.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -96,29 +96,29 @@ jobs:
9696
9797
if [ "${{ matrix.platform }}" = "macOS" ]; then
9898
echo "Building universal macOS binary (version will be detected as: $VERSION)..."
99-
99+
100100
# Build ARM64 binary
101101
echo "Building ARM64 binary..."
102102
swift build --configuration release --arch arm64 -Xswiftc -Osize
103-
103+
104104
# Build x86_64 binary
105105
echo "Building x86_64 binary..."
106106
swift build --configuration release --arch x86_64 -Xswiftc -Osize
107-
107+
108108
# Create output directory
109109
mkdir -p .build/apple/Products/Release
110-
110+
111111
# Combine architectures with lipo
112112
echo "Combining architectures with lipo..."
113113
lipo -create \
114114
.build/arm64-apple-macosx/release/swift-dependency-audit \
115115
.build/x86_64-apple-macosx/release/swift-dependency-audit \
116116
-output .build/apple/Products/Release/swift-dependency-audit
117-
117+
118118
# Verify the universal binary
119119
echo "Verifying universal binary..."
120120
lipo -info .build/apple/Products/Release/swift-dependency-audit
121-
121+
122122
# Strip the final binary
123123
strip -rSTx .build/apple/Products/Release/swift-dependency-audit
124124
else
@@ -167,13 +167,6 @@ jobs:
167167
echo "=== Testing Custom Whitelist ==="
168168
$BINARY_PATH . --whitelist "Foundation,SwiftUI,ArgumentParser" --verbose --exclude-tests
169169
170-
echo "=== Testing Plugin Integration ==="
171-
if swift package plugin --list | grep -q "DependencyAuditPlugin"; then
172-
echo "✅ Plugin is properly registered"
173-
else
174-
echo "⚠️ Plugin not found in list, but core functionality works"
175-
fi
176-
177170
- name: Upload build artifacts
178171
uses: actions/upload-artifact@v4
179172
with:

0 commit comments

Comments
 (0)