File tree Expand file tree Collapse file tree 1 file changed +16
-17
lines changed
Expand file tree Collapse file tree 1 file changed +16
-17
lines changed Original file line number Diff line number Diff line change 88
99const std::string_view codeql::programName = " autobuilder" ;
1010
11- constexpr codeql::SwiftDiagnostic incompatibleOs{
12- .id = " incompatible-os" ,
13- .name = " Incompatible operating system (expected macOS)" ,
14- .action =
15- " [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-compiled-"
26- " language" ,
27- };
11+ constexpr codeql::Diagnostic incompatibleOs = codeql::swiftDiagnostic(
12+ " incompatible-os" ,
13+ " Incompatible operating system (expected macOS)" ,
14+ " [Change the Actions runner][1] to run on macOS.\n "
15+ " \n "
16+ " You may be able to run analysis on Linux by setting up a [manual build command][2].\n "
17+ " \n "
18+ " [1]: "
19+ " https://docs.github.com/en/actions/using-workflows/"
20+ " workflow-syntax-for-github-actions#jobsjob_idruns-on\n "
21+ " [2]: "
22+ " https://docs.github.com/en/enterprise-server/code-security/code-scanning/"
23+ " automatically-scanning-your-code-for-vulnerabilities-and-errors/"
24+ " configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-"
25+ " compiled-"
26+ " language" );
2827
2928static codeql::Logger& logger () {
3029 static codeql::Logger ret{" main" };
You can’t perform that action at this time.
0 commit comments