Build tracing currently does not support Windows 2022, so use `windows-2019` instead of`windows-latest`.
21 lines
591 B
YAML
21 lines
591 B
YAML
name: "Go: Custom tracing"
|
|
description: "Checks that Go tracing works"
|
|
# Build tracing currently does not support Windows 2022, so use `windows-2019` instead of
|
|
# `windows-latest`.
|
|
os: [ubuntu-latest, macos-latest, windows-2019]
|
|
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
|