-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PR check for reconciled tracing with legacy workflow
- Loading branch information
Henry Mercer
committed
Aug 31, 2022
1 parent
e466e75
commit 5b4b44c
Showing
2 changed files
with
117 additions
and
0 deletions.
There are no files selected for viewing
88 changes: 88 additions & 0 deletions
88
.github/workflows/__go-reconciled-tracing-legacy-workflow.yml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
pr-checks/checks/go-reconciled-tracing-legacy-workflow.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: "Go: Reconciled tracing with legacy workflow" | ||
description: "Checks that we run the autobuilder in legacy workflows with neither an autobuild step nor manual build steps" | ||
os: ["ubuntu-latest", "macos-latest"] | ||
env: | ||
# Enable reconciled Go tracing beta functionality | ||
CODEQL_ACTION_RECONCILE_GO_EXTRACTION: "true" | ||
# Remove this once we start injecting the Go tracer in the init step. | ||
CODEQL_EXTRACTOR_GO_BUILD_TRACING: "on" | ||
DOTNET_GENERATE_ASPNET_CERTIFICATE: "false" | ||
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: "^1.13.1" | ||
- uses: ./../action/init | ||
with: | ||
languages: go | ||
tools: ${{ steps.prepare-test.outputs.tools-url }} | ||
env: | ||
TEST_MODE: true | ||
- uses: ./../action/analyze | ||
env: | ||
TEST_MODE: true | ||
- shell: bash | ||
run: | | ||
cd "$RUNNER_TEMP/codeql_databases" | ||
if [[ ! -d go ]]; then | ||
echo "Did not find a Go database" | ||
exit 1 | ||
fi |