Skip to content

Commit 1fc4426

Browse files
Formatting
Make sure all of the workflows are using the same spacing as the rest of the projects.
1 parent 55f7801 commit 1fc4426

File tree

3 files changed

+77
-75
lines changed

3 files changed

+77
-75
lines changed

.github/workflows/Lint.yml

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3,43 +3,43 @@ name: Static Analysis - Lint
33

44
# When this workflow triggers
55
on:
6-
# Allows this workflow to be manually run
7-
workflow_dispatch:
6+
# Allows this workflow to be manually run
7+
workflow_dispatch:
88

9-
# Allow this workflow to be called from another workflow
10-
workflow_call:
9+
# Allow this workflow to be called from another workflow
10+
workflow_call:
1111

12-
# Run the linting checks on every change
13-
push:
14-
branches: [ main ]
15-
pull_request:
16-
branches: [ main ]
12+
# Run the linting checks on every change
13+
push:
14+
branches: [ main ]
15+
pull_request:
16+
branches: [ main ]
1717

1818
# Define each session of execution that should be executed
1919
jobs:
20-
Lint:
21-
# Display name of the job
22-
name: Lint
23-
24-
# Operating system filter for the runners
25-
runs-on: ubuntu-latest
26-
27-
steps:
28-
# Checks-out your repository under $GITHUB_WORKSPACE
29-
- uses: actions/checkout@v4
30-
31-
# Set up NodeJS on the build host
32-
- name: Setup Node.js environment
33-
uses: actions/setup-node@v4
34-
with:
35-
node-version: 20.x
36-
cache: npm
37-
cache-dependency-path: package-lock.json
38-
39-
# Install all of the dependencies
40-
- name: Install All of the Project Dependencies
41-
run: npm install
42-
43-
# Lint the Source code to ensure project standardization and best practices
44-
- name: Lint Source Code
45-
run: npm run-script lint
20+
Lint:
21+
# Display name of the job
22+
name: Lint
23+
24+
# Operating system filter for the runners
25+
runs-on: ubuntu-latest
26+
27+
steps:
28+
# Checks-out your repository under $GITHUB_WORKSPACE
29+
- uses: actions/checkout@v4
30+
31+
# Set up NodeJS on the build host
32+
- name: Setup Node.js environment
33+
uses: actions/setup-node@v4
34+
with:
35+
node-version: 20.x
36+
cache: npm
37+
cache-dependency-path: package-lock.json
38+
39+
# Install all of the dependencies
40+
- name: Install All of the Project Dependencies
41+
run: npm install
42+
43+
# Lint the Source code to ensure project standardization and best practices
44+
- name: Lint Source Code
45+
run: npm run-script lint

.github/workflows/SecretScan.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,17 @@ on:
1717

1818
# Define each session of execution that should be executed
1919
jobs:
20-
SecretScan:
21-
# Display name of the job
22-
name: Scan for Secrets
20+
SecretScan:
21+
# Display name of the job
22+
name: Scan for Secrets
2323

24-
# Operating system filter for the runners
25-
runs-on: ubuntu-latest
24+
# Operating system filter for the runners
25+
runs-on: ubuntu-latest
2626

27-
steps:
28-
# Checks-out your repository under $GITHUB_WORKSPACE
29-
- uses: actions/checkout@v4
27+
steps:
28+
# Checks-out your repository under $GITHUB_WORKSPACE
29+
- name: Clone Repo
30+
uses: actions/checkout@v4
3031

31-
- name: Scan for Secrets
32-
uses: trufflesecurity/trufflehog@main
32+
- name: Scan for Secrets
33+
uses: trufflesecurity/trufflehog@main

.github/workflows/Unit-Test.yml

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -17,33 +17,34 @@ on:
1717

1818
# Define each session of execution that should be executed
1919
jobs:
20-
UnitTest:
21-
# Display name of the job
22-
name: Unit Test
23-
24-
# Operating system filter for the runners
25-
runs-on: ubuntu-latest
26-
27-
steps:
28-
# Checks-out your repository under $GITHUB_WORKSPACE
29-
- uses: actions/checkout@v4
30-
31-
# Set up NodeJS on the build host
32-
- name: Setup Node.JS Environment
33-
uses: actions/setup-node@v4
34-
with:
35-
node-version: 20.x
36-
cache: npm
37-
cache-dependency-path: package-lock.json
38-
39-
# Install all of the dependencies
40-
- name: Install All of the Project Dependencies
41-
run: npm install
42-
43-
# Transpile the TypeScript files to JS
44-
- name: Build Server
45-
run: npm run-script build
46-
47-
# Run the discovered tests against the source code
48-
- name: Run Tests
49-
run: npm run-script test
20+
UnitTest:
21+
# Display name of the job
22+
name: Unit Test
23+
24+
# Operating system filter for the runners
25+
runs-on: ubuntu-latest
26+
27+
steps:
28+
# Checks-out your repository under $GITHUB_WORKSPACE
29+
- name: Clone Repo
30+
uses: actions/checkout@v4
31+
32+
# Set up NodeJS on the build host
33+
- name: Setup Node.JS Environment
34+
uses: actions/setup-node@v4
35+
with:
36+
node-version: 20.x
37+
cache: npm
38+
cache-dependency-path: package-lock.json
39+
40+
# Install all of the dependencies
41+
- name: Install All of the Project Dependencies
42+
run: npm install
43+
44+
# Transpile the TypeScript files to JS
45+
- name: Build Server
46+
run: npm run-script build
47+
48+
# Run the discovered tests against the source code
49+
- name: Run Tests
50+
run: npm run-script test

0 commit comments

Comments
 (0)