Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Share cache between loadtest and other tests
This puts all those development tools that depend on the dynamically linked postgrestPackage into a single cache group. Notably this now includes the loadtest, but does not include the style/lint job anymore. This also improves the creation of cache keys and their restore prefixes. The cache key now depends on default.nix and shell.nix in the root folder and all .patch files in the nix folder. Those may change the output of our nix derivations, so must be included. At the same time, there is no reason to include the actions/setup-nix folder. This would only lead to new caches being created every time we update one of the depndent actions in this file. Finally, restoring caches from a different toolset makes zero sense, so we remove that again. There is no point in having the style job fall back to the static cache for example.
- Loading branch information