1
1
mirror of https://github.com/github/semantic.git synced 2024-11-30 14:47:30 +03:00
Commit Graph

56 Commits

Author SHA1 Message Date
Patrick Thomson
ab6661b9c4 Make sure we always run cabal-cache. 2020-05-20 14:12:47 -04:00
Patrick Thomson
22e19c7b5c I forgot a leading bar in this YAML.
YAML is not my favorite format.
2020-05-20 14:09:35 -04:00
Patrick Thomson
55494f9311 One too many characters in the matching clause. 2020-05-20 11:54:58 -04:00
Patrick Thomson
564ded558e Fix syntax errors. 2020-05-20 11:52:23 -04:00
Patrick Thomson
0fa0a63b0d Dynamically change cache keys based on cabal files' hash.
The problem with our caching approach up until now is that we've been
hitting Actions caches too often. As we `cabal update` and `cabal
configure`, our build plan strays farther and farther from what's
present in the cache, resulting in more and more cache missed from
`cabal`. The fix here is to hash a file that's changed reasonably
often and to use that to key the caches, falling back on the most
recently used cache present on a miss.
2020-05-20 11:51:07 -04:00
Patrick Thomson
700197f993 See if we can elide other caches. 2020-05-20 10:41:56 -04:00
Patrick Thomson
e6933b2792 Revert. 2020-05-20 10:38:28 -04:00
Patrick Thomson
51e765b6ca See if eliding the configuration step will help builds. 2020-05-20 10:33:09 -04:00
Patrick Thomson
731c8022f3 Change key so we don't get a false cache hit. 2020-05-20 09:31:48 -04:00
Patrick Thomson
f7169955bb Try new approach to caching. 2020-05-20 09:06:33 -04:00
Rick Winfrey
d55db8893a Merge branch 'master' into precise-ql-tagging 2020-03-27 11:52:48 -07:00
Rick Winfrey
980ba035e7 Add version numbers to the remaining cache keys 2020-03-23 16:42:52 -07:00
Rick Winfrey
1318cae6bd Oops, these are not cache keys, these are action names 2020-03-23 16:42:33 -07:00
Rick Winfrey
b889c26a9c Let's try bumping the actions caches
CI is having a hard time finding semantic-source 0.1.0.0
2020-03-23 16:38:36 -07:00
Rick Winfrey
376881814d Don't specify semantic-source as local package 2020-03-20 10:29:19 -07:00
Timothy Clem
797805cbcb Turn on all this tests in CI 2020-02-20 14:22:32 -08:00
Timothy Clem
68bc0f68d5 Bring back tree-sitter corpus tests for go 2020-02-20 10:38:52 -08:00
Timothy Clem
4566a59f42 No real bootstrapping todo anymore 2020-02-20 10:38:22 -08:00
Ayman Nadeem
e07954bab6 bump cache 2020-02-06 17:17:09 -05:00
Patrick Thomson
9cfa5726d2 Bust the cache again. 2020-02-05 18:01:35 -05:00
Patrick Thomson
1f5214961a Blow the cache. 2020-02-04 12:39:59 -05:00
Ayman Nadeem
8592d531c1 bump v5 to v6 to fix cabal store bug 2020-02-03 10:20:27 -05:00
Ayman Nadeem
9a476cefc1 Fix CI 2020-01-30 13:26:26 -05:00
Patrick Thomson
4c96c0b740 Un-wedge the cabal store 2020-01-28 13:04:56 -05:00
Patrick Thomson
e973e5b7a4 Blow the cache. 2020-01-27 12:35:07 -05:00
Timothy Clem
902512e346 Bump cabal store again for ts fix 2020-01-23 10:58:37 -08:00
Timothy Clem
9af6d028ea Bust store cache 2020-01-22 10:37:52 -08:00
Timothy Clem
b4124780ca Bring back cabal/package cache 2020-01-21 14:53:50 -08:00
Timothy Clem
d82b90356e No hlint for the moment to unblock 2020-01-21 14:31:49 -08:00
Patrick Thomson
37e1c1095b Merge remote-tracking branch 'origin/master' into semantic-scope-graph 2020-01-17 11:24:07 -05:00
Rob Rix
4e071f141f
Use the CI-specific project files for CI. 2020-01-16 14:18:14 -05:00
Rob Rix
2bc5d31ebb
Build semantic-source using cabal.project.ci in CI. 2020-01-16 14:02:36 -05:00
Patrick Thomson
2cbc52804b Merge remote-tracking branch 'origin/master' into semantic-scope-graph 2020-01-15 16:30:42 -05:00
Timothy Clem
b8a4776156 CI updates
- Don't use or cache ~/.cabal/packages
- Include cabal version in dist-newstyle cache key
- Build depdendencies for all
2020-01-14 12:45:00 -08:00
Patrick Thomson
3345967836 Merge remote-tracking branch 'origin/master' into semantic-scope-graph 2020-01-14 15:30:01 -05:00
Patrick Thomson
0048017d03 Run this on CI. 2020-01-14 15:04:18 -05:00
Rob Rix
2351ba4ada
Use the existing hlint if we have one. 2020-01-13 15:28:40 -05:00
Rob Rix
766fb12b16
Revert "Overwrite hlint on install if necessary."
This reverts commit 98f3ff7e8a.
2020-01-13 15:27:36 -05:00
Rob Rix
98f3ff7e8a
Overwrite hlint on install if necessary. 2020-01-13 15:26:30 -05:00
Timothy Clem
4effc2b10b Try to bust these caches 2019-12-18 11:24:23 -08:00
Patrick Thomson
c745b2c320 Check event.ref instead. 2019-12-17 19:08:25 -05:00
Patrick Thomson
02623738ac Run checkout action on push events. 2019-12-17 18:58:48 -05:00
Patrick Thomson
dedab31dd8 Remove stray whitespace. 2019-12-17 15:06:06 -05:00
Patrick Thomson
982522ac76 Cache on pushes to master. 2019-12-17 15:02:03 -05:00
Patrick Thomson
a543072453 Test commit to see if we get a cache hit. 2019-12-17 14:59:16 -05:00
Patrick Thomson
ad5d700f8a Upgrade to Actions cache@v1.
I've been seeing cache misses where I would expect to see successes.
Let's see if this helps.
2019-12-17 14:12:21 -05:00
Patrick Thomson
259089c6d2 never mind, we do need to cd 2019-12-17 11:26:13 -05:00
Patrick Thomson
85ce329188 maybe we don't need to cd at all 2019-12-17 10:57:49 -05:00
Patrick Thomson
ae7a5c6e28 Try running the semantic-source tests. 2019-12-17 10:12:03 -05:00
Patrick Thomson
6cac0f2e09 Try installing to a directory, I guess? 2019-12-16 21:21:04 -05:00