From c077d4e1d067a2370589cd9661cb104e23272205 Mon Sep 17 00:00:00 2001 From: Mikaela Caron Date: Tue, 8 Oct 2024 16:27:23 +0100 Subject: [PATCH] Fix fastlane adding a step to copy a file to approve of the build tool plugin to run --- .github/workflows/unit-tests.yml | 3 +++ fastlane/enable-build-tool-plugins.json | 12 ++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 fastlane/enable-build-tool-plugins.json diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 3adf497b..87c64616 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -22,6 +22,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + + - name: Enable Build Tools + run: cp fastlane/enable-build-tool-plugins.json ~/Library/org.swift.swiftpm/security/plugins.json - name: Prepare xcconfig run: cp Basic-Car-Maintenance.xcconfig.template Basic-Car-Maintenance.xcconfig diff --git a/fastlane/enable-build-tool-plugins.json b/fastlane/enable-build-tool-plugins.json new file mode 100644 index 00000000..738e40d1 --- /dev/null +++ b/fastlane/enable-build-tool-plugins.json @@ -0,0 +1,12 @@ +[ + { + "fingerprint" : "f17a4f9dfb6a6afb0408426354e4180daaf49cee", + "packageIdentity" : "swiftlint", + "targetName" : "SwiftLintPlugin" + }, + { + "fingerprint" : "7c80ce6f142164b0201871e580b021d1b2c69804", + "packageIdentity" : "swiftlintplugins", + "targetName" : "SwiftLintBuildToolPlugin" + } +] \ No newline at end of file