Skip to content

Commit 1ad3427

Browse files
committed
Reformat GitHub Action YAML mechanically with VSC
1 parent 329e524 commit 1ad3427

File tree

2 files changed

+33
-34
lines changed

2 files changed

+33
-34
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ name: "CodeQL"
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [master]
66
pull_request:
77
# The branches below must be a subset of the branches above
8-
branches: [ master ]
8+
branches: [master]
99
schedule:
10-
- cron: '29 21 * * 4'
10+
- cron: "29 21 * * 4"
1111

1212
jobs:
1313
analyze:
@@ -21,24 +21,24 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
language: [ 'java' ]
24+
language: ["java"]
2525

2626
steps:
27-
- name: Checkout repository
28-
uses: actions/checkout@v3
27+
- name: Checkout repository
28+
uses: actions/checkout@v3
2929

30-
# Initializes the CodeQL tools for scanning.
31-
- name: Initialize CodeQL
32-
uses: github/codeql-action/init@v2
33-
with:
34-
languages: ${{ matrix.language }}
35-
# If you wish to specify custom queries, you can do so here or in a config file.
36-
# By default, queries listed here will override any specified in a config file.
37-
# Prefix the list here with "+" to use these queries and those in the config file.
38-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
30+
# Initializes the CodeQL tools for scanning.
31+
- name: Initialize CodeQL
32+
uses: github/codeql-action/init@v2
33+
with:
34+
languages: ${{ matrix.language }}
35+
# If you wish to specify custom queries, you can do so here or in a config file.
36+
# By default, queries listed here will override any specified in a config file.
37+
# Prefix the list here with "+" to use these queries and those in the config file.
38+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
3939

40-
- name: Autobuild
41-
uses: github/codeql-action/autobuild@v2
40+
- name: Autobuild
41+
uses: github/codeql-action/autobuild@v2
4242

43-
- name: Perform CodeQL Analysis
44-
uses: github/codeql-action/analyze@v2
43+
- name: Perform CodeQL Analysis
44+
uses: github/codeql-action/analyze@v2

.github/workflows/maven.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,25 @@ name: Java CI with Maven
1010

1111
on:
1212
push:
13-
branches: [ "master" ]
13+
branches: ["master"]
1414
pull_request:
15-
branches: [ "master" ]
15+
branches: ["master"]
1616

1717
jobs:
1818
build:
19-
2019
runs-on: ubuntu-latest
2120

2221
steps:
23-
- uses: actions/checkout@v4
24-
- name: Set up JDK 17
25-
uses: actions/setup-java@v4
26-
with:
27-
java-version: '17'
28-
distribution: 'temurin'
29-
cache: maven
30-
- name: Build with Maven
31-
run: mvn -B package --file pom.xml
22+
- uses: actions/checkout@v4
23+
- name: Set up JDK 17
24+
uses: actions/setup-java@v4
25+
with:
26+
java-version: "17"
27+
distribution: "temurin"
28+
cache: maven
29+
- name: Build with Maven
30+
run: mvn -B package --file pom.xml
3231

33-
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
34-
- name: Update dependency graph
35-
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
32+
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
33+
- name: Update dependency graph
34+
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6

0 commit comments

Comments
 (0)