Compare commits

..

2 Commits

Author SHA1 Message Date
Edoardo Pirovano edcee5476c Test error 2022-01-11 18:23:24 +00:00
Edoardo Pirovano 8361428488 Refuse to run on Windows 11 2022-01-11 18:22:51 +00:00
10 changed files with 11 additions and 13 deletions
+2
View File
@@ -12,6 +12,7 @@ on:
branches:
- main
- v1
- edoardo/test-error
pull_request:
types:
- opened
@@ -34,6 +35,7 @@ jobs:
- ubuntu-latest
- macos-latest
- windows-latest
- windows-2022
name: Remote config file
runs-on: ${{ matrix.os }}
steps:
-4
View File
@@ -2,10 +2,6 @@
## [UNRELEASED]
No user facing changes.
## 1.0.27 - 11 Jan 2022
- The `analyze` and `upload-sarif` actions will now wait up to 2 minutes for processing to complete after they have uploaded the results so they can report any processing errors that occurred. This behavior can be disabled by setting the `wait-for-processing` action input to `"false"`.
+1 -1
View File
@@ -92,7 +92,7 @@ async function run() {
toolsVersion = initCodeQLResult.toolsVersion;
await (0, util_1.enrichEnvironment)(util_1.Mode.actions, codeql);
config = await (0, init_1.initConfig)((0, actions_util_1.getOptionalInput)("languages"), (0, actions_util_1.getOptionalInput)("queries"), (0, actions_util_1.getOptionalInput)("packs"), (0, actions_util_1.getOptionalInput)("config-file"), (0, actions_util_1.getOptionalInput)("db-location"), (0, actions_util_1.getOptionalInput)("debug") === "true", (0, actions_util_1.getOptionalInput)("debug-artifact-name") || util_1.DEFAULT_DEBUG_ARTIFACT_NAME, (0, actions_util_1.getOptionalInput)("debug-database-name") || util_1.DEFAULT_DEBUG_DATABASE_NAME, repositoryNwo, (0, actions_util_1.getTemporaryDirectory)(), (0, util_1.getRequiredEnvParam)("RUNNER_TOOL_CACHE"), codeql, (0, util_1.getRequiredEnvParam)("GITHUB_WORKSPACE"), gitHubVersion, apiDetails, featureFlags, logger);
if (config.languages.some(languages_1.isTracedLanguage)) {
if (config.languages.filter(languages_1.isTracedLanguage).length > 0) {
// We currently do not support tracing on Windows 11 and Windows Server 2022
(0, util_1.checkNotWindows11)();
}
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "codeql",
"version": "1.0.28",
"version": "1.0.27",
"lockfileVersion": 2,
"requires": true,
"packages": {
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "codeql",
"version": "1.0.28",
"version": "1.0.27",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "codeql",
"version": "1.0.28",
"version": "1.0.27",
"license": "MIT",
"dependencies": {
"@actions/artifact": "^0.5.2",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "codeql",
"version": "1.0.28",
"version": "1.0.27",
"private": true,
"description": "CodeQL action",
"scripts": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "codeql-runner",
"version": "1.0.28",
"version": "1.0.27",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "codeql-runner",
"version": "1.0.28",
"version": "1.0.27",
"private": true,
"description": "CodeQL runner",
"scripts": {
+1 -1
View File
@@ -193,7 +193,7 @@ async function run() {
logger
);
if (config.languages.some(isTracedLanguage)) {
if (config.languages.filter(isTracedLanguage).length > 0) {
// We currently do not support tracing on Windows 11 and Windows Server 2022
checkNotWindows11();
}