Commit graph

6074 commits

Author SHA1 Message Date
Andrew Eisenberg
1489c9c992
Exclude Swift on macos for version 2.14.6 2024-11-07 16:06:21 -08:00
Andrew Eisenberg
34919cb664
Update codeql.yml workflow 2024-11-06 15:15:23 -08:00
Andrew Eisenberg
45a6057506
Move to macos-13 runners
Macos-12 runners are deprecated and are refusing to run.
2024-11-06 15:15:22 -08:00
Andrew Eisenberg
5ac2ddd6fc
Merge pull request #2580 from jsoref/minor-cleanup
Minor cleanup
2024-11-06 14:53:47 -08:00
Josh Soref
3b7b85fbe8 Conditionally clear runner cache
This allows runners that don't have the cache to run these workflows.
2024-11-06 06:44:03 -05:00
Josh Soref
688ea5370d Fix publish-immutable-action version 2024-11-06 06:43:56 -05:00
Josh Soref
1e6d67b138 Give expected-queries-runs permissions 2024-11-06 06:43:49 -05:00
Josh Soref
d5e73848c4 Strip trailing whitespace generated by ruamel-yaml 2024-11-06 06:43:41 -05:00
Josh Soref
756aa649df spelling: macos
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-11-06 06:43:41 -05:00
Josh Soref
16e8ccc657 spelling: in case
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-11-04 13:36:03 -05:00
Dave Bartolomeo
cbe1897960
Merge pull request #2572 from github/dbartol/actions-analysis
Add support for `actions` language
2024-11-01 14:16:04 -04:00
Dave Bartolomeo
ca91b63a7d Add comment about registry kinds 2024-11-01 14:00:48 -04:00
Henry Mercer
bfa8cb319d
Merge pull request #2573 from github/henrymercer/zstd-bundle-cleanup
Download Zstandard bundles on GHES too by default
2024-11-01 16:35:45 +00:00
Dave Bartolomeo
4e764dc701 Add unit test for YAML support in CODEQL_ACTION_EXTRA_OPTIONS 2024-11-01 11:38:19 -04:00
Henry Mercer
aecadfe12a Add changelog note 2024-11-01 15:30:53 +00:00
Henry Mercer
26077f3119 Remove fallback to gzip
Data shows it is unneeded
2024-11-01 15:29:16 +00:00
Henry Mercer
33f2dc57a4 Enable zstd bundles on GHES and remove feature flag 2024-11-01 15:24:51 +00:00
Dave Bartolomeo
2a3ca27b96 Merge remote-tracking branch 'origin/main' into dbartol/actions-analysis 2024-10-31 16:18:51 -04:00
Chuan-kai Lin
48c3e26756
Merge pull request #2559 from github/cklin/diff-range-filtering
Add support for diff-informed queries
2024-10-31 06:47:09 -07:00
Chuan-kai Lin
a28215865a Merge branch 'main' into cklin/diff-range-filtering 2024-10-31 06:12:13 -07:00
Andrew Eisenberg
9f93f47966
Merge pull request #2569 from github/dependabot/npm_and_yarn/npm-00a804f5b0
Bump uuid from 10.0.0 to 11.0.1 in the npm group
2024-10-29 15:36:29 -07:00
Andrew Eisenberg
19484c7e44
Merge pull request #2571 from github/aeisenberg/action-stub
Add the action stub
2024-10-29 14:35:47 -07:00
Andrew Eisenberg
6554251ea7
Update action.yml
Co-authored-by: Henry Mercer <henrymercer@github.com>
2024-10-29 14:21:39 -07:00
Andrew Eisenberg
1df65907e5
Merge pull request #2541 from github/aeisenberg/publish-immutable
Create publish-immutable-action workflow
2024-10-29 11:29:47 -07:00
Andrew Eisenberg
a883cff4b0
Add the action stub
This is required for the migration of the codeql-action to an
immutable action.

We can delete this after the migration is done, or just keep it
so people have an extra way to understand how to use the action.
2024-10-29 09:24:06 -07:00
Michael B. Gale
dfc2731f08
Merge pull request #2383 from github/mbg/add/dependency-caching
Add support for dependency caching
2024-10-29 16:09:36 +00:00
Chuan-kai Lin
94b5d396bc build: refresh js files 2024-10-29 07:01:44 -07:00
Chuan-kai Lin
f7935cc485 Diff-informed PR analysis 2024-10-29 07:01:19 -07:00
Michael B. Gale
bab8f1df69
Document future cache size considerations 2024-10-29 12:10:34 +00:00
Michael B. Gale
ed74b24893
Remove part about deprecated values in docs for getCachingKind 2024-10-29 12:10:34 +00:00
Michael B. Gale
21e6a62b15
Use common getTotalCacheSize for TRAP caching 2024-10-29 12:10:33 +00:00
Michael B. Gale
0cb71294e5
Disable dependency caching by default on hosted runners for now 2024-10-29 12:10:18 +00:00
Michael B. Gale
79faaf1396
Add CachingKind enum to control whether to restore or store caches 2024-10-29 12:10:17 +00:00
Michael B. Gale
668531eca8
Support Paket 2024-10-29 12:08:53 +00:00
Michael B. Gale
7d69964c80
Fix import ordering 2024-10-29 12:08:52 +00:00
Michael B. Gale
c0b5869910
Add message when no cache was found for a language 2024-10-29 12:08:52 +00:00
Michael B. Gale
8f657e857d
Add environment variable for custom dependency cache prefix 2024-10-29 12:08:52 +00:00
Michael B. Gale
1338dbce25
Add env var alternative to dependency-caching input 2024-10-29 12:08:50 +00:00
Michael B. Gale
f3714aed1f
Skip uploading empty caches 2024-10-29 12:08:32 +00:00
Michael B. Gale
5b057af8ce
Store dependency caches in analyze Action 2024-10-29 12:08:30 +00:00
Michael B. Gale
471ed9f4c5
Move isDefaultSetup to actions-util.ts and change implementation 2024-10-29 12:08:08 +00:00
Michael B. Gale
259cc5a39c
Rename makeGlobber parameter 2024-10-29 12:07:42 +00:00
Michael B. Gale
f0bcca1598
Add documentation for CacheConfig 2024-10-29 12:07:42 +00:00
Michael B. Gale
5afaeede1c
Ensure that we have files to calculate the hash for the cache key from 2024-10-29 12:07:42 +00:00
Michael B. Gale
9d1353fe5f
Add caching configuration for Go 2024-10-29 12:07:41 +00:00
Michael B. Gale
5e11d57e17
Add caching configuration for C# 2024-10-29 12:07:41 +00:00
Michael B. Gale
f64038fc40
Store and restore dependency caches in init Action 2024-10-29 12:07:38 +00:00
Michael B. Gale
2b7af49a3d
Add bare-bones dependency caching functions 2024-10-29 12:06:48 +00:00
Michael B. Gale
51d90f48a6
Add caching utils 2024-10-29 12:06:48 +00:00
Michael B. Gale
19e7c25974
Add explicit dependency on @actions/glob 2024-10-29 12:06:48 +00:00