mirror of
https://github.com/github/codeql-action.git
synced 2025-12-06 07:48:17 +08:00
19 lines
433 B
YAML
19 lines
433 B
YAML
name: "Go: Custom tracing"
|
|
description: "Checks that Go tracing works"
|
|
env:
|
|
CODEQL_EXTRACTOR_GO_BUILD_TRACING: "true"
|
|
steps:
|
|
- uses: actions/setup-go@v2
|
|
with:
|
|
go-version: "^1.13.1"
|
|
- uses: ./../action/init
|
|
with:
|
|
languages: go
|
|
tools: ${{ steps.prepare-test.outputs.tools-url }}
|
|
- name: Build code
|
|
shell: bash
|
|
run: go build main.go
|
|
- uses: ./../action/analyze
|
|
env:
|
|
TEST_MODE: true
|