From 93c988bb82c3308ae0a33d98059e181866d16165 Mon Sep 17 00:00:00 2001 From: winebarrel Date: Tue, 5 Nov 2024 23:58:42 +0900 Subject: [PATCH] Add --strict option --- .github/workflows/ci.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3367d75..4cc61a6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,4 +67,4 @@ jobs: xcodebuild build analyze -scheme PagerCall -destination 'generic/platform=macOS' -allowProvisioningUpdates -configuration Debug | tee build.log - name: SwiftLint Analyse run: | - ./swiftlint analyze --compiler-log-path build.log + ./swiftlint analyze --strict --compiler-log-path build.log diff --git a/Makefile b/Makefile index 88be73e..6085a89 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ build: clean .PHONY: swiftlint-analyze swiftlint-analyze: $(MAKE) build CONFIGURATION=Debug - swiftlint analyze --compiler-log-path $(BUILD_LOG) + swiftlint analyze --strict --compiler-log-path $(BUILD_LOG) .PHONY: clean clean: