Граф коммитов

33 Коммитов

Автор SHA1 Сообщение Дата
erik-krogh 389b7ceff5
support the new shared compilation cache directory 2023-02-20 15:34:03 +01:00
erik-krogh f6fdf45359
remember to actually output the compilation dir 2023-02-20 15:32:50 +01:00
erik-krogh 45d00ae9dd
inline the move-caches script into the action 2023-02-16 14:52:46 +01:00
erik-krogh 34266cfa4c
simplify the QL-for-QL workflow, which should also fix the cache 2023-02-02 22:17:38 +01:00
Ian Lynagh c2d5281e73
Merge pull request #11930 from igfoo/igfoo/fetch-codeql
CI: fetch-codeql: Set $CODEQL_FETCHED_CODEQL_PATH in the enivironment
2023-01-19 15:33:08 +00:00
Ian Lynagh 3a5bec5778 CI: fetch-codeql: Set $CODEQL_FETCHED_CODEQL_PATH in the enivironment 2023-01-19 11:37:05 +00:00
Arthur Baars e29e077a03 Ruby/QL4QL: include OS version in cache keys 2023-01-12 15:47:10 +01:00
erik-krogh b4dddc07f1
use the new actions/cache@v3 instead of my own fork 2022-12-21 21:10:55 +01:00
Erik Krogh Kristensen be168901d6
Merge pull request #11085 from dbartol/dbartol/ql-for-ql-latest
Use latest released bundle for QL-for-QL
2022-12-06 12:43:53 +01:00
Paolo Tranquilli e12e86b520 Restore previous cache key
Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
2022-11-30 10:47:29 +01:00
Paolo Tranquilli d165c4963d CI: add workaround for nested composite actions issue
Because of https://github.com/actions/runner/issues/2009 the deeply
nested action cache was failing to save the cache in the post run phase.

For the moment we just avoid the nesting with a copy-pasted action
snippet.
2022-11-30 10:47:29 +01:00
erik-krogh 3d0c9c4642
Merge branch 'main' into test-ci 2022-11-30 09:47:08 +01:00
Paolo Tranquilli a3a68fe83d Tweak comment in `incremental-cache` action 2022-11-29 13:09:45 +01:00
erik-krogh 7c1435b7c6
use withFileTypes in move-caches.js some more 2022-11-29 12:16:38 +01:00
Erik Krogh Kristensen 3cb31ef030
use `withFileTypes` in move-caches.js
Co-authored-by: Arthur Baars <aibaars@github.com>
2022-11-29 12:10:00 +01:00
Paolo Tranquilli 52a117aaf5 Swift: optimize bazel caching in CI
Previously the cache would become stale. Now the same incremental
cache mechanism in use for the QL cache is adopted (and factored out
in a separate action).

Namely, pushes on main will populate the cache using the commit hash as
key, while PRs will try to use the cache of their merge base, read-only.

To avoid the cache growing out of control, a simple cache eviction is
done on pushes.
2022-11-29 11:43:54 +01:00
erik-krogh 915d680fcc
use a node script instead of bash to move the compilation cache 2022-11-29 10:41:08 +01:00
erik-krogh 67e9841bf3
place the compilation cache in the temp dir 2022-11-29 10:40:54 +01:00
erik-krogh 10c602d9fb
CI: use read-only-cache when running on a PR 2022-11-22 10:20:09 +01:00
erik-krogh 57a7f89485
change merge-base to merge_base 2022-11-21 15:15:12 +01:00
erik-krogh af58329931
split saving the compilation cache into a shared workflow 2022-11-21 14:35:10 +01:00
Erik Krogh Kristensen 5918e0184c
quote $CHANNEL
Co-authored-by: Arthur Baars <aibaars@github.com>
2022-11-03 14:17:44 +01:00
erik-krogh 83a8b1afb8
use fetch-codeql action 2022-11-03 13:49:15 +01:00
Dave Bartolomeo 906f2f5e0f Add repo 2022-11-02 11:42:39 -04:00
Dave Bartolomeo 631b8fed30 Add token 2022-11-02 11:40:01 -04:00
Dave Bartolomeo bb0b0801dd Try again 2022-11-02 11:38:11 -04:00
Arthur Baars 759fd6cc0b Use 'gh codeql' with the nightly release for CI jobs 2022-08-02 17:01:20 +02:00
Arthur Baars bc05cdaa4d Implement fetch-codeql using 'gh codeql' 2022-08-01 12:55:35 +02:00
Alex Denisov 60c6241382 Swift: run QL tests on macOS 2022-04-13 10:35:15 +02:00
Arthur Baars 7b4460edb7 Apply suggestions from code review
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com>
2021-11-03 18:42:49 +01:00
Arthur Baars 19e010e6fe fetch-codeql action: unzip in runner.temp 2021-10-27 15:57:54 +02:00
Arthur Baars 393800e4b9 Move create-extractor-pack Action 2021-10-15 11:47:57 +02:00
Tom Hvitved e201dae672 Add two 'composite' actions for reusing logic 2021-09-20 14:52:02 +02:00