Skip to content

Commit 43ccd59

Browse files
committed
feat: Update CodeQL configuration and add caching for improved performance
1 parent d0f1793 commit 43ccd59

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

.github/codeql-config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
name: "Custom CodeQL Config"
2+
13
paths:
2-
- "src"
4+
- "src/"
35

4-
paths-ignore:
5-
- "node_modules"
6-
- "dist"
7-
- "tests"
8-
- "**/*.spec.ts"
6+
queries:
7+
- uses: security-extended
8+
- uses: security-and-quality

.github/workflows/codeql.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ jobs:
1414
- name: Checkout repository
1515
uses: actions/checkout@v3
1616

17+
- name: Cache CodeQL Database
18+
uses: actions/cache@v3
19+
with:
20+
path: ~/codeql-db # Store the CodeQL database
21+
key: codeql-db-${{ runner.os }}-${{ github.sha }}
22+
restore-keys: |
23+
codeql-db-${{ runner.os }}-
24+
1725
- name: Initialize CodeQL
1826
uses: github/codeql-action/init@v3
1927
with:

0 commit comments

Comments
 (0)