[wp-trac] [WordPress Trac] #49783: PHPCS config: Persistent caching on Travis
WordPress Trac
noreply at wordpress.org
Tue Nov 10 08:38:03 UTC 2020
#49783: PHPCS config: Persistent caching on Travis
-------------------------------------+-------------------------------
Reporter: johnbillion | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: needs-refresh has-patch | Focuses: coding-standards
-------------------------------------+-------------------------------
Comment (by johnbillion):
FYI I haven't found a great way to run this on GitHub Actions yet because
GHA doesn't support always pulling in a cache file and simultaneously
always updating it if there are changes, unlike Travis, because it uses
the same cache key for fetching and saving the cache during a run. Unless
this has changed recently, this means you need to pull in a somewhat stale
cache.
Example: https://github.com/johnbillion/query-
monitor/blob/fbe8124794d8b53edb3455c87ac39fc596b14fd4/.github/workflows/test.yml#L35-L44
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49783#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list