We use Tuist and Package.swift to install external dependencies. When we update a dependency, the Package.resolved file is updated.
It seems reasonable to consider changing this file so that selective caching works correctly.
The Tuist/.build directory is usually in .gitignore, so git diff will not be able to detect it.