Skip to content
Permalink
Newer
Older
100644 86 lines (85 sloc) 2.3 KB
1
# Warning: This file is generated automatically, and should not be modified.
2
# Instead, please modify the template in the pr-checks directory and run:
3
# pip install ruamel.yaml && python3 sync.py
4
# to regenerate this file.
5
6
name: 'PR Check - Go: Reconciled tracing with legacy workflow'
7
env:
8
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9
GO111MODULE: auto
10
on:
11
push:
12
branches:
13
- main
14
- releases/v1
15
- releases/v2
16
pull_request:
17
types:
18
- opened
19
- synchronize
20
- reopened
21
- ready_for_review
22
workflow_dispatch: {}
23
jobs:
24
go-reconciled-tracing-legacy-workflow:
25
strategy:
26
matrix:
27
include:
28
- os: ubuntu-latest
29
version: stable-20210308
30
- os: macos-latest
31
version: stable-20210308
32
- os: ubuntu-latest
33
version: stable-20210319
34
- os: macos-latest
35
version: stable-20210319
36
- os: ubuntu-latest
37
version: stable-20210809
38
- os: macos-latest
39
version: stable-20210809
40
- os: ubuntu-latest
41
version: cached
42
- os: macos-latest
43
version: cached
44
- os: ubuntu-latest
45
version: latest
46
- os: macos-latest
47
version: latest
48
- os: ubuntu-latest
49
version: nightly-latest
50
- os: macos-latest
51
version: nightly-latest
52
name: 'Go: Reconciled tracing with legacy workflow'
53
timeout-minutes: 45
54
runs-on: ${{ matrix.os }}
55
steps:
56
- name: Check out repository
57
uses: actions/checkout@v3
58
- name: Prepare test
59
id: prepare-test
60
uses: ./.github/prepare-test
61
with:
62
version: ${{ matrix.version }}
63
- uses: actions/setup-go@v3
64
with:
65
go-version: ^1.13.1
66
- uses: ./../action/init
67
with:
68
languages: go
69
tools: ${{ steps.prepare-test.outputs.tools-url }}
70
env:
71
TEST_MODE: true
72
- uses: ./../action/analyze
73
env:
74
TEST_MODE: true
75
- shell: bash
76
run: |
77
cd "$RUNNER_TEMP/codeql_databases"
78
if [[ ! -d go ]]; then
79
echo "Did not find a Go database"
80
exit 1
81
fi
82
env:
83
# Enable reconciled Go tracing beta functionality
84
CODEQL_ACTION_RECONCILE_GO_EXTRACTION: 'true'
85
DOTNET_GENERATE_ASPNET_CERTIFICATE: 'false'
86
INTERNAL_CODEQL_ACTION_DEBUG_LOC: true