From 2f439400715c6615c2e30b437b5bf464e2751fce Mon Sep 17 00:00:00 2001 From: Ian Leitch Date: Sat, 21 Dec 2024 10:55:37 +0000 Subject: [PATCH] Update Linux baseline --- .github/workflows/test.yml | 4 ++-- baselines/linux.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eb9ce5d04..85da972ea 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ env: swift_package_resolve: swift package resolve swift_build: swift build swift_test: swift test - periphery_scan: ./.build/debug/periphery scan --quiet --clean-build + periphery_scan: ./.build/debug/periphery scan --quiet --clean-build --strict cache_version: 1 jobs: lint: @@ -107,6 +107,6 @@ jobs: - name: Build run: ${{ env.swift_build }} - name: Scan - run: ${{ env.periphery_scan }} --write-baseline foo; cat foo + run: ${{ env.periphery_scan }} --baseline baselines/linux.json - name: Test run: ${{ env.swift_test }} diff --git a/baselines/linux.json b/baselines/linux.json index 65cd981bf..5e1c81427 100644 --- a/baselines/linux.json +++ b/baselines/linux.json @@ -1 +1 @@ -{"v1":{"usrs":["import-Configuration-Sources\/ProjectDrivers\/XcodeProjectDriver.swift:2:5","import-Indexer-Sources\/ProjectDrivers\/XcodeProjectDriver.swift:4:5","import-Logger-Sources\/ProjectDrivers\/XcodeProjectDriver.swift:5:5","import-Shared-Sources\/ProjectDrivers\/XcodeProjectDriver.swift:6:5","import-SourceGraph-Sources\/ProjectDrivers\/XcodeProjectDriver.swift:7:5","import-TestShared-Tests\/PeripheryTests\/ObjcAccessibleRetentionTest.swift:2:1","import-TestShared-Tests\/PeripheryTests\/ObjcAnnotatedRetentionTest.swift:2:1","s:11SourceGraph15ProjectFileKindO10extensionsSaySSGvp","s:6Shared14SetupSelectionO","s:6Shared17SetupGuideHelpersC6select8multiple8allowAllAA0B9SelectionOSaySSG_SbtF","s:SS10ExtensionsE4djb2Sivp","s:SS10ExtensionsE7djb2HexSSvp"]}} \ No newline at end of file +{"v1":{"usrs":["import-Configuration-Sources\/ProjectDrivers\/XcodeProjectDriver.swift:2:5","import-Indexer-Sources\/ProjectDrivers\/XcodeProjectDriver.swift:4:5","import-Logger-Sources\/ProjectDrivers\/XcodeProjectDriver.swift:5:5","import-Shared-Sources\/ProjectDrivers\/XcodeProjectDriver.swift:6:5","import-SourceGraph-Sources\/ProjectDrivers\/XcodeProjectDriver.swift:7:5","import-TestShared-Tests\/PeripheryTests\/ObjcAccessibleRetentionTest.swift:2:1","import-TestShared-Tests\/PeripheryTests\/ObjcAnnotatedRetentionTest.swift:2:1","s:11SourceGraph15ProjectFileKindO10extensionsSaySSGvp","s:6Shared14SetupSelectionO","s:6Shared17SetupGuideHelpersC6select8multipleAA0B9SelectionOSaySSG_tF","s:SS10ExtensionsE4djb2Sivp","s:SS10ExtensionsE7djb2HexSSvp"]}} \ No newline at end of file