Skip to content

Commit 65b4284

Browse files
committed
formatting cleanup
1 parent ff65b05 commit 65b4284

File tree

2 files changed

+59
-56
lines changed

2 files changed

+59
-56
lines changed

.github/workflows/codeql.yml

+35-35
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
11
name: "CodeQL"
22

33
on:
4-
push:
5-
branches: [ "main" ]
6-
pull_request:
7-
branches: [ "main" ]
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
88

99
jobs:
10-
analyze:
11-
name: Analyze
12-
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
13-
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
14-
permissions:
15-
actions: read
16-
contents: read
17-
security-events: write
10+
analyze:
11+
name: Analyze
12+
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
13+
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
14+
permissions:
15+
actions: read
16+
contents: read
17+
security-events: write
1818

19-
strategy:
20-
fail-fast: false
21-
matrix:
22-
language: [ "java-kotlin" ]
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
language: [ "java-kotlin" ]
2323

24-
steps:
25-
- name: Checkout repository
26-
uses: actions/checkout@v3
24+
steps:
25+
- name: Checkout repository
26+
uses: actions/checkout@v3
2727

28-
- name: Initialize CodeQL
29-
uses: github/codeql-action/init@v2
30-
with:
31-
languages: ${{ matrix.language }}
32-
queries: security-extended,security-and-quality
28+
- name: Initialize CodeQL
29+
uses: github/codeql-action/init@v2
30+
with:
31+
languages: ${{ matrix.language }}
32+
queries: security-extended,security-and-quality
3333

34-
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
35-
# If this step fails, then you should remove it and run the build manually (see below)
36-
- name: Autobuild
37-
uses: github/codeql-action/autobuild@v2
38-
# - run: |
39-
# echo "Run, Build Application using script"
40-
# ./location_of_script_within_repo/buildscript.sh
34+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
35+
# If this step fails, then you should remove it and run the build manually (see below)
36+
- name: Autobuild
37+
uses: github/codeql-action/autobuild@v2
38+
# - run: |
39+
# echo "Run, Build Application using script"
40+
# ./location_of_script_within_repo/buildscript.sh
4141

42-
- name: Perform CodeQL Analysis
43-
uses: github/codeql-action/analyze@v2
44-
with:
45-
category: "/language:${{matrix.language}}"
42+
- name: Perform CodeQL Analysis
43+
uses: github/codeql-action/analyze@v2
44+
with:
45+
category: "/language:${{matrix.language}}"

.github/workflows/unit-tests.yml

+24-21
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,30 @@
11
name: "Run Unit-Tests"
22

33
on:
4-
push:
5-
branches: [ "main" ]
6-
pull_request:
7-
branches: [ "main" ]
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
88

99

1010
jobs:
11-
unit-tests:
12-
runs-on: ubuntu-latest
13-
permissions:
14-
actions: read
15-
contents: read
16-
steps:
17-
- name: Checkout Repo
18-
uses: actions/checkout@v4
19-
- name: Set up JDK 17
20-
uses: actions/setup-java@v4
21-
with:
22-
distribution: "oracle"
23-
java-version: "17"
24-
- name: Setup Gradle
25-
uses: gradle/actions/setup-gradle@v3
26-
- name: Run test suites
27-
run: ./gradlew test
11+
unit-tests:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
actions: read
15+
contents: read
16+
steps:
17+
- name: Checkout Repo
18+
uses: actions/checkout@v4
19+
20+
- name: Set up JDK 17
21+
uses: actions/setup-java@v4
22+
with:
23+
distribution: "oracle"
24+
java-version: "17"
25+
26+
- name: Setup Gradle
27+
uses: gradle/actions/setup-gradle@v3
28+
29+
- name: Run test suites
30+
run: ./gradlew test

0 commit comments

Comments
 (0)