From fd723ec895100c14c1477be6a0efaac3259fa5d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danny=20M=C3=B6sch?= Date: Sun, 8 Sep 2024 20:03:38 +0200 Subject: [PATCH] Skip package plugin validation --- .github/workflows/test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 729884c..6bdb6a0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,21 +39,21 @@ jobs: id: failed_build run: swift build continue-on-error: true - - name: Check that build failed + - name: Verify that build failed if: ${{ steps.failed_build.outcome != 'failure' }} run: exit 1 - name: Let command fail id: failed_command run: swift package swiftlint continue-on-error: true - - name: Check that command failed + - name: Verify that command failed if: ${{ steps.failed_command.outcome != 'failure' }} run: exit 1 - name: Let Xcode build fail id: failed_xcode_build - run: xcodebuild -scheme SwiftLintPluginsTest -destination 'platform=macOS' build + run: xcodebuild -scheme SwiftLintPluginsTest -destination 'platform=macOS' -skipPackagePluginValidation build continue-on-error: true - - name: Check that Xcode build failed + - name: Verify that Xcode build failed if: ${{ steps.failed_xcode_build.outcome != 'failure' }} run: exit 1 - name: Change to warning @@ -63,4 +63,4 @@ jobs: run: | swift build | grep -q "Force Cast Violation" swift package swiftlint | grep -q "Force Cast Violation" - xcodebuild -scheme SwiftLintPluginsTest -destination 'platform=macOS' build | grep -q "Force Cast Violation" + xcodebuild -scheme SwiftLintPluginsTest -destination 'platform=macOS' -skipPackagePluginValidation build | grep -q "Force Cast Violation"