Skip to content

Commit 6c891de

Browse files
testing
1 parent 009f82b commit 6c891de

File tree

1 file changed

+21
-18
lines changed

1 file changed

+21
-18
lines changed

.github/workflows/codeql.yml

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
- "release/*"
1717
- "feature/*"
1818
schedule:
19-
- cron: '36 17 * * 0'
19+
- cron: "36 17 * * 0"
2020
workflow_call:
2121
inputs:
2222
ref:
@@ -26,30 +26,33 @@ on:
2626
jobs:
2727
analyze:
2828
name: Analyze (go)
29-
runs-on: 'ubuntu-latest'
29+
runs-on: "ubuntu-latest"
3030
timeout-minutes: 360
3131
permissions:
3232
# required for all workflows
3333
security-events: write
3434

3535
steps:
36-
- name: Checkout repository
37-
uses: actions/checkout@v6
36+
- name: Checkout repository
37+
uses: actions/checkout@v6
3838

39-
# Initializes the CodeQL tools for scanning.
40-
- name: Initialize CodeQL
41-
uses: github/codeql-action/init@v4
42-
with:
43-
languages: go
44-
build-mode: manual
39+
# Initializes the CodeQL tools for scanning.
40+
- name: Initialize CodeQL
41+
uses: github/codeql-action/init@v4
42+
with:
43+
languages: go
44+
build-mode: manual
4545

46-
- name: Install Taskfile support
47-
uses: arduino/setup-task@v2
46+
- name: Install Taskfile support
47+
uses: arduino/setup-task@v2
4848

49-
- shell: bash
50-
run: task build
49+
- name: Build (CodeQL-instrumented)
50+
shell: bash
51+
env:
52+
GOTOOLCHAIN: local
53+
run: go build ./...
5154

52-
- name: Perform CodeQL Analysis
53-
uses: github/codeql-action/analyze@v4
54-
with:
55-
category: "/language:go"
55+
- name: Perform CodeQL Analysis
56+
uses: github/codeql-action/analyze@v4
57+
with:
58+
category: "/language:go"

0 commit comments

Comments
 (0)