|
9 | 9 | const std::string_view codeql::programName = "autobuilder";
|
10 | 10 | const std::string_view codeql::extractorName = "swift";
|
11 | 11 |
|
12 |
| -constexpr codeql::Diagnostic incompatibleOs = codeql::Diagnostic( |
13 |
| - .id="incompatible-os", |
14 |
| - .name="Incompatible operating system (expected macOS)", |
15 |
| - .action="[Change the Actions runner][1] to run on macOS.\n" |
16 |
| - "\n" |
17 |
| - "You may be able to run analysis on Linux by setting up a [manual build command][2].\n" |
18 |
| - "\n" |
19 |
| - "[1]: " |
20 |
| - "https://docs.github.com/en/actions/using-workflows/" |
21 |
| - "workflow-syntax-for-github-actions#jobsjob_idruns-on\n" |
22 |
| - "[2]: " |
23 |
| - "https://docs.github.com/en/enterprise-server/code-security/code-scanning/" |
24 |
| - "automatically-scanning-your-code-for-vulnerabilities-and-errors/" |
25 |
| - "configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-" |
26 |
| - "compiled-" |
27 |
| - "language"); |
| 12 | +constexpr codeql::Diagnostic incompatibleOs = codeql::Diagnostic{ |
| 13 | + .id = "incompatible-os", |
| 14 | + .name = "Incompatible operating system (expected macOS)", |
| 15 | + .action = |
| 16 | + "[Change the Actions runner][1] to run on macOS.\n" |
| 17 | + "\n" |
| 18 | + "You may be able to run analysis on Linux by setting up a [manual build command][2].\n" |
| 19 | + "\n" |
| 20 | + "[1]: " |
| 21 | + "https://docs.github.com/en/actions/using-workflows/" |
| 22 | + "workflow-syntax-for-github-actions#jobsjob_idruns-on\n" |
| 23 | + "[2]: " |
| 24 | + "https://docs.github.com/en/enterprise-server/code-security/code-scanning/" |
| 25 | + "automatically-scanning-your-code-for-vulnerabilities-and-errors/" |
| 26 | + "configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-" |
| 27 | + "compiled-" |
| 28 | + "language"}; |
28 | 29 |
|
29 | 30 | static codeql::Logger& logger() {
|
30 | 31 | static codeql::Logger ret{"main"};
|
|
0 commit comments