github-actions[bot]
f695c53a17
Merge remote-tracking branch 'origin/releases/v2' into update-v1.1.16-3e7e3b32
2022-07-13 11:27:41 +00:00
github-actions[bot]
2d5f20d706
Revert "Update checked-in dependencies"
...
This reverts commit eb9619301e .
2022-07-13 11:27:41 +00:00
github-actions[bot]
e617b8972d
Revert "Update version and changelog for v1.1.15"
...
This reverts commit 785cbf1898 .
2022-07-13 11:27:40 +00:00
Cornelius Riemenschneider
3e7e3b32d0
Merge pull request #1140 from github/update-v2.1.16-548f07e3
...
Merge main into releases/v2
v2.1.16
2022-07-13 12:55:19 +02:00
github-actions[bot]
330d552535
Update changelog for v2.1.16
2022-07-13 10:05:10 +00:00
Andrew Eisenberg
548f07e307
Merge pull request #1139 from github/aeisenberg/concat-not-push
...
Use concat instead of push around `listFolders`
2022-07-13 02:39:34 -07:00
Henry Mercer
a844fefc86
Merge branch 'main' into aeisenberg/concat-not-push
2022-07-13 10:09:16 +01:00
Andrew Eisenberg
7ce9ef9137
Use concat instead of push around listFolders
...
This avoids stack overflows when using the spread operator on
directories that have many, many children.
2022-07-12 13:23:01 -07:00
Henry Mercer
d750c6d79d
Merge pull request #1138 from github/henrymercer/drop-token-check
...
Update required checks: Allow authenticating via the GitHub CLI
2022-07-12 19:57:01 +01:00
Henry Mercer
4cb248b0ec
Merge branch 'main' into henrymercer/drop-token-check
2022-07-12 18:21:09 +01:00
Henry Mercer
1e7f770864
Merge pull request #1132 from github/henrymercer/one-click-debug
...
Enable one-click debugging via the "Enable debug logging" option when re-running Actions jobs
2022-07-12 18:10:16 +01:00
Henry Mercer
816b3e91bc
Update failure message
...
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2022-07-12 17:52:15 +01:00
Henry Mercer
fbbd1dcd52
Fix extra double quote
...
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2022-07-12 17:44:51 +01:00
Henry Mercer
0a5dad3c83
Allow authenticating via the GitHub CLI
...
We no longer run this script within Actions for security reasons, and
when running locally we can authenticate with the GitHub CLI instead
of a PAT.
2022-07-12 17:33:24 +01:00
Henry Mercer
d61e3fdf02
Fix shellcheck errors
...
Avoid trying to evaluate `github/codeql-action`.
2022-07-12 17:31:31 +01:00
Henry Mercer
dca60ba711
Merge remote-tracking branch 'origin/main' into henrymercer/one-click-debug
2022-07-12 16:54:30 +01:00
Cornelius Riemenschneider
e1ec69721f
Merge pull request #1137 from github/criemen/fix-end-tracing
...
Unset tracing variables after finalizing databases.
2022-07-12 17:49:59 +02:00
Henry Mercer
b45ac1f8f8
Cleanup: Use optional chaining in a couple of places
2022-07-12 16:30:21 +01:00
Henry Mercer
b316baae94
Merge remote-tracking branch 'origin/main' into henrymercer/one-click-debug
2022-07-12 16:22:05 +01:00
Henry Mercer
e655fb331c
Use core.isDebug() instead of accessing env var
2022-07-12 16:19:13 +01:00
Henry Mercer
b3801753d4
Merge pull request #1133 from github/henrymercer/log-diagnostics-when-debug-enabled
...
Print diagnostic messages when debugging mode is enabled
2022-07-12 15:49:16 +01:00
Cornelius Riemenschneider
3dcdbc9add
Unset tracing variables after finalizing databases.
...
The tracer is very good at preserving itself, so unsetting the tracing-specific
variables from within a process will not end tracing for children of
that process.
The way the actions process model works means that we're running inside
a process for the entire build step that was launched with the tracer
variables set, so we'll have the tracer injected into the entire build
step and its children.
If we unset the variables in end-tracing, we will get into an intermediate
state: Not all variables in there are preserved by the tracer,
but the tracer is still active.
Usually, that wouldn't be a problem, but the autobuilders called from
the finalize step will suddenly run under a half-configured tracer.
Particularly, this half-configured tracer is unable to execute the dotnet
CLI without hangs, as the environment variable that prevents hangs for
dotnet on MacOS has been unset, but the tracer is still active.
This is an issue for the the go autobuilder, that invokes
user-provided build scripts in the hope of installing dependencies.
If that build script then invokes dotnet, it will hang.
This is only of concern for the Lua tracer that now implements proper
multi-language tracing: Previously, when encountering the go autobuilder,
the tracer disabled itself entirely, thus side-stepping any hangs.
In the new, multi-language tracing world, the tracer will stay active
as long as there is at least one other language that's been set up
for tracing.
Thus, we also get hangs when invoking the dotnet CLI through the go
autobuilder.
2022-07-12 11:33:44 +00:00
Henry Mercer
688508d8cb
Merge pull request #1099 from github/henrymercer/run-unit-tests-on-windows
...
Run unit tests on Windows too
2022-07-12 11:06:41 +01:00
Henry Mercer
fc926423a5
Merge remote-tracking branch 'origin/main' into henrymercer/run-unit-tests-on-windows
2022-07-11 17:57:19 +01:00
Henry Mercer
ea8fb214de
Merge pull request #1104 from github/henrymercer/remove-toolcache-decorator
...
Remove toolcache decorator
2022-07-11 17:54:54 +01:00
Henry Mercer
3a5fa35535
Add changelog note
2022-07-01 19:14:38 +01:00
Henry Mercer
7e94a6cbca
Print diagnostic messages when debug logging enabled
...
This commit prints diagnostic messages to the Actions log when debug
logging is enabled by passing `debug: true` to `codeql-action/init` or
enabling Actions step debug logging.
2022-07-01 18:56:12 +01:00
Henry Mercer
b7da732b32
Add changelog note
2022-07-01 18:47:41 +01:00
Henry Mercer
0c729c81f2
Mention that debug mode is automatically enabled when step debugging on
2022-07-01 17:59:10 +01:00
Henry Mercer
53850d88bb
Enable one-click debugging via the "Enable debug logging" rerun option
2022-07-01 17:56:57 +01:00
Henry Mercer
b1742f8919
Add instructions to remove deleted JS / source map files in PR check
2022-06-30 09:16:11 +01:00
Henry Mercer
c736697abf
Remove toolcache decorator
...
This decorator enabled us to use the functionality of the Actions
toolcache within the runner too.
Now that we've deleted the runner we no longer need it.
2022-06-30 09:16:10 +01:00
Arthur Baars
ca8a203b51
Merge pull request #1126 from github/aibaars/python-setup-no-pycache
...
Python-Setup: run auto_install_packages.py with -B flag
2022-06-30 10:08:46 +02:00
Arthur Baars
53bc5e6c78
Merge remote-tracking branch 'origin/main' into aibaars/python-setup-no-pycache
2022-06-30 09:10:41 +02:00
Henry Mercer
130a51dbc6
Handle Windows absolute paths in resolveUriToFile
2022-06-29 18:59:33 +01:00
Henry Mercer
c2fd5d10f6
Don't make temporary directories symlinks
...
`toolcache.extractTar` currently falls over when `ACTIONS_TEMP` contains
a symlink, and the runner no longer exists, so it's unlikely our
customers would be running with temporary directories that contain
symlinks.
2022-06-29 18:59:33 +01:00
Henry Mercer
30681e79db
Separate paths with / in resolveUriToFile
2022-06-29 18:59:32 +01:00
Henry Mercer
c15604920a
Workaround PATH casing issues on Windows
2022-06-29 18:59:32 +01:00
Henry Mercer
4792297702
Fix test failures on Windows related to path separators
2022-06-29 18:59:32 +01:00
Henry Mercer
79ec03f3e5
Run npm scripts on using bash so Windows can find commands
2022-06-29 18:58:38 +01:00
Henry Mercer
7ebbfcbbdd
Run unit tests on Windows too
2022-06-29 10:07:31 +01:00
Chuan-kai Lin
e41f8baf4a
Merge pull request #1131 from github/update-v1.1.15-3f62b754
...
Merge releases/v2 into releases/v1
v1.1.15
2022-06-28 14:13:46 -07:00
Chuan-kai Lin
3ea10cc7b5
Merge pull request #1130 from github/mergeback/v2.1.15-to-main-3f62b754
...
Mergeback v2.1.15 refs/heads/releases/v2 into main
2022-06-28 14:11:56 -07:00
github-actions[bot]
eb9619301e
Update checked-in dependencies
2022-06-28 19:39:17 +00:00
github-actions[bot]
4a887ca920
Update checked-in dependencies
2022-06-28 19:26:38 +00:00
github-actions[bot]
785cbf1898
Update version and changelog for v1.1.15
2022-06-28 19:04:23 +00:00
github-actions[bot]
b7cbc0f8be
Merge remote-tracking branch 'origin/releases/v2' into update-v1.1.15-3f62b754
2022-06-28 19:04:22 +00:00
github-actions[bot]
1fd3a8d1c7
Revert "Update checked-in dependencies"
...
This reverts commit 98b2df478b .
2022-06-28 19:04:22 +00:00
github-actions[bot]
269aa1746e
Revert "Update version and changelog for v1.1.14"
...
This reverts commit f4fb1cfb88 .
2022-06-28 19:04:22 +00:00
github-actions[bot]
7c1b9e6b1a
Update changelog and version after v2.1.15
2022-06-28 19:04:16 +00:00