mirror of
https://github.com/github/codeql-action.git
synced 2025-12-06 07:48:17 +08:00
Compare commits
3 Commits
f5c63fadd5
...
henrymerce
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ae81554f0e | ||
|
|
6154c552ae | ||
|
|
3fe9cb3b27 |
33
.github/workflows/__go-tracing-custom-build-steps.yml
generated
vendored
33
.github/workflows/__go-tracing-custom-build-steps.yml
generated
vendored
@@ -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:
|
||||
|
||||
@@ -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
2
lib/analyze-action.js
generated
@@ -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
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user