Skip to content

Commit 0759f02

Browse files
Merge pull request #541 from santoshshinde2012/dev
Bump github/codeql-action from 2 to 3
2 parents 42cff67 + 6db41d3 commit 0759f02

File tree

3 files changed

+23
-23
lines changed

3 files changed

+23
-23
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343

4444
# Initializes the CodeQL tools for scanning.
4545
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@v2
46+
uses: github/codeql-action/init@v3
4747
with:
4848
config-file: ./.github/codeql/codeql-configuration.yml
4949
languages: ${{ matrix.language }}
@@ -55,7 +55,7 @@ jobs:
5555
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5656
# If this step fails, then you should remove it and run the build manually (see below)
5757
- name: Autobuild
58-
uses: github/codeql-action/autobuild@v2
58+
uses: github/codeql-action/autobuild@v3
5959

6060
# ℹ️ Command-line programs to run using the OS shell.
6161
# 📚 https://git.io/JvXDl
@@ -69,4 +69,4 @@ jobs:
6969
# make release
7070

7171
- name: Perform CodeQL Analysis
72-
uses: github/codeql-action/analyze@v2
72+
uses: github/codeql-action/analyze@v3

.github/workflows/njsscan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ jobs:
3737
with:
3838
args: '. --sarif --output results.sarif || true'
3939
- name: Upload njsscan report
40-
uses: github/codeql-action/upload-sarif@v2
40+
uses: github/codeql-action/upload-sarif@v3
4141
with:
4242
sarif_file: results.sarif

test-report.xml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<testExecutions version="1">
33
<file path="/Users/santosh/Documents/workspace/personal/node-boilerplate/tests/unit-tests/dummy.spec.ts">
4-
<testCase name="Dummy Test Cases Verify Jest is working" duration="3"/>
4+
<testCase name="Dummy Test Cases Verify Jest is working" duration="4"/>
55
</file>
6-
<file path="/Users/santosh/Documents/workspace/personal/node-boilerplate/tests/integration-tests/app.integration.spec.ts">
7-
<testCase name="status integration tests can get default route success" duration="14"/>
8-
<testCase name="status integration tests can get default web route success" duration="2"/>
6+
<file path="/Users/santosh/Documents/workspace/personal/node-boilerplate/tests/unit-tests/lib/logger.spec.ts">
7+
<testCase name="Logger Lib should create a new log directory if one doesn&apos;t already exist" duration="5"/>
98
</file>
109
<file path="/Users/santosh/Documents/workspace/personal/node-boilerplate/tests/unit-tests/lib/crypto.spec.ts">
11-
<testCase name="Crypto Lib (Encryption/Decryption) Testing for text" duration="4"/>
12-
<testCase name="Crypto Lib (Encryption/Decryption) Testing for array" duration="1"/>
10+
<testCase name="Crypto Lib (Encryption/Decryption) Testing for text" duration="12"/>
11+
<testCase name="Crypto Lib (Encryption/Decryption) Testing for array" duration="7"/>
1312
<testCase name="Crypto Lib (Encryption/Decryption) Testing for object" duration="2"/>
1413
</file>
15-
<file path="/Users/santosh/Documents/workspace/personal/node-boilerplate/tests/unit-tests/lib/logger.spec.ts">
16-
<testCase name="Logger Lib should create a new log directory if one doesn&apos;t already exist" duration="7"/>
17-
</file>
1814
<file path="/Users/santosh/Documents/workspace/personal/node-boilerplate/tests/unit-tests/components/SystemStatusController.spec.ts">
19-
<testCase name="System Status Controller test getError method" duration="3"/>
20-
<testCase name="System Status Controller test getSystemInfo method" duration="2"/>
21-
<testCase name="System Status Controller test getSystemInfo method with updated env variables" duration="2"/>
15+
<testCase name="System Status Controller test getError method" duration="2"/>
16+
<testCase name="System Status Controller test getSystemInfo method" duration="3"/>
17+
<testCase name="System Status Controller test getSystemInfo method with updated env variables" duration="3"/>
2218
<testCase name="System Status Controller test getSystemInfo method with exception" duration="0"/>
23-
<testCase name="System Status Controller test getServerTime method" duration="1"/>
19+
<testCase name="System Status Controller test getServerTime method" duration="2"/>
2420
<testCase name="System Status Controller test getServerTime method with exception" duration="0"/>
25-
<testCase name="System Status Controller test getResourceUsage method" duration="1"/>
21+
<testCase name="System Status Controller test getResourceUsage method" duration="0"/>
2622
<testCase name="System Status Controller test getResourceUsage method with exception" duration="0"/>
2723
<testCase name="System Status Controller test getProcessInfo method" duration="0"/>
2824
<testCase name="System Status Controller test getProcessInfo method with exception" duration="0"/>
2925
</file>
3026
<file path="/Users/santosh/Documents/workspace/personal/node-boilerplate/tests/unit-tests/middleware/error-handler.spec.ts">
31-
<testCase name="ErrorHandler middleware with 0 status code" duration="5"/>
27+
<testCase name="ErrorHandler middleware with 0 status code" duration="3"/>
28+
<testCase name="ErrorHandler middleware with 200 status code" duration="0"/>
3229
<testCase name="ErrorHandler middleware with 200 status code" duration="0"/>
33-
<testCase name="ErrorHandler middleware with 200 status code" duration="1"/>
3430
<testCase name="ErrorHandler middleware with 200 status code and updated env variables" duration="1"/>
3531
</file>
32+
<file path="/Users/santosh/Documents/workspace/personal/node-boilerplate/tests/integration-tests/app.integration.spec.ts">
33+
<testCase name="status integration tests can get default route success" duration="17"/>
34+
<testCase name="status integration tests can get default web route success" duration="2"/>
35+
</file>
3636
<file path="/Users/santosh/Documents/workspace/personal/node-boilerplate/tests/integration-tests/status.integration.spec.ts">
37-
<testCase name="status integration tests can get server time" duration="14"/>
38-
<testCase name="status integration tests can get server system info" duration="4"/>
37+
<testCase name="status integration tests can get server time" duration="15"/>
38+
<testCase name="status integration tests can get server system info" duration="5"/>
3939
<testCase name="status integration tests can get server system usage" duration="2"/>
4040
<testCase name="status integration tests can get server system process info" duration="1"/>
41-
<testCase name="status integration tests should get the error" duration="4"/>
41+
<testCase name="status integration tests should get the error" duration="3"/>
4242
</file>
4343
</testExecutions>

0 commit comments

Comments
 (0)