Skip to content

Commit 3facd18

Browse files
authored
Update codeql-analysis.yml (#334)
1 parent 6c4178c commit 3facd18

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,8 @@ jobs:
2525
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
2626
with:
2727
submodules: recursive
28-
29-
- name: Install golang
30-
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # 5.3.0
31-
with:
32-
go-version: '1.21.11'
33-
34-
# Initializes the CodeQL tools for scanning.
35-
- name: Initialize CodeQL with Trail of Bits Go Queries as well
36-
uses: github/codeql-action/init@dd746615b3b9d728a6a37ca2045b68ca76d4841a #3.28.8
28+
29+
- name: Run shared CodeQL scan
30+
uses: Layr-Labs/security-shared-workflows/actions/codeql-scans@418d735c1c4e5cc650c8addaeb8909b36b9dca27
3731
with:
38-
languages: go
39-
packs: trailofbits/go-queries
40-
41-
- name: Perform CodeQL Analysis
42-
uses: github/codeql-action/analyze@dd746615b3b9d728a6a37ca2045b68ca76d4841a #3.28.8
32+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)