Currently hashFiles ignores files outside the workspace. This means that it cannot be used to hash files which appear within an Action. In turn this means that packages such as actions/setup-python cannot be used with files from the Action (see for example actions/setup-python#361), making them hard to use within composite Actions.
It would be great if hashFiles could support these files as it would enable more powerful composite Actions.