Compare commits

...

3 Commits

Author SHA1 Message Date
Henry Mercer
ae81554f0e Temporarily trigger workflow on push for testing 2023-11-28 17:09:28 +00:00
Henry Mercer
6154c552ae Log steps input for debugging 2023-11-28 17:00:30 +00:00
Henry Mercer
3fe9cb3b27 Add steps input 2023-11-28 16:56:42 +00:00
5 changed files with 11 additions and 34 deletions

View File

@@ -10,9 +10,6 @@ env:
CODEQL_EXTRACTOR_JAVA_AGENT_DISABLE_KOTLIN: 'true'
on:
push:
branches:
- main
- releases/v2
pull_request:
types:
- opened
@@ -26,36 +23,6 @@ jobs:
matrix:
include:
- os: ubuntu-latest
version: stable-20220908
- os: macos-latest
version: stable-20220908
- os: ubuntu-latest
version: stable-20221211
- os: macos-latest
version: stable-20221211
- os: ubuntu-latest
version: stable-20230418
- os: macos-latest
version: stable-20230418
- os: ubuntu-latest
version: stable-v2.13.5
- os: macos-latest
version: stable-v2.13.5
- os: ubuntu-latest
version: stable-v2.14.6
- os: macos-latest
version: stable-v2.14.6
- os: ubuntu-latest
version: default
- os: macos-latest
version: default
- os: ubuntu-latest
version: latest
- os: macos-latest
version: latest
- os: ubuntu-latest
version: nightly-latest
- os: macos-latest
version: nightly-latest
name: 'Go: tracing with custom build steps'
permissions:

View File

@@ -69,9 +69,14 @@ inputs:
required: true
default: "true"
token:
description: "The GitHub token to use for communicating with the GitHub API."
default: ${{ github.token }}
matrix:
description: "The job matrix, applicable. Do not modify this input."
default: ${{ toJson(matrix) }}
steps:
description: "The job steps. Do not modify this input."
default: ${{ toJson(steps) }}
expect-error:
description: "[Internal] It is an error to use this input outside of integration testing of the codeql-action."
required: false

2
lib/analyze-action.js generated
View File

@@ -154,6 +154,8 @@ async function run() {
if (hasBadExpectErrorInput()) {
throw new util.UserError("`expect-error` input parameter is for internal use only. It should only be set by codeql-action or a fork.");
}
// Log steps input for debugging
logger.info(`Steps input: ${actionsUtil.getRequiredInput("steps")}`);
const apiDetails = (0, api_client_1.getApiDetails)();
const outputDir = actionsUtil.getRequiredInput("output");
const threads = util.getThreadsFlag(actionsUtil.getOptionalInput("threads") || process.env["CODEQL_THREADS"], logger);

File diff suppressed because one or more lines are too long

View File

@@ -208,6 +208,9 @@ async function run() {
);
}
// Log steps input for debugging
logger.info(`Steps input: ${actionsUtil.getRequiredInput("steps")}`);
const apiDetails = getApiDetails();
const outputDir = actionsUtil.getRequiredInput("output");
const threads = util.getThreadsFlag(