Skip to content

Commit c926840

Browse files
committed
Normalise EOL
1 parent 11a2163 commit c926840

File tree

4 files changed

+648
-646
lines changed

4 files changed

+648
-646
lines changed

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* text=auto
2+
*.patch -text

.github/workflows/codeql-analysis.yml

+80-80
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,85 @@
1-
# Licensed to the Apache Software Foundation (ASF) under one or more
2-
# contributor license agreements. See the NOTICE file distributed with
3-
# this work for additional information regarding copyright ownership.
4-
# The ASF licenses this file to You under the Apache License, Version 2.0
5-
# (the "License"); you may not use this file except in compliance with
6-
# the License. You may obtain a copy of the License at
7-
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
9-
#
10-
# Unless required by applicable law or agreed to in writing, software
11-
# distributed under the License is distributed on an "AS IS" BASIS,
12-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
# See the License for the specific language governing permissions and
14-
# limitations under the License.
15-
16-
name: "CodeQL"
17-
18-
on:
19-
push:
20-
branches: [ master ]
21-
pull_request:
22-
# The branches below must be a subset of the branches above
23-
branches: [ master ]
24-
schedule:
25-
- cron: '33 9 * * 4'
26-
27-
permissions:
28-
contents: read
29-
30-
jobs:
31-
analyze:
32-
name: Analyze
33-
runs-on: ubuntu-latest
34-
permissions:
35-
actions: read
36-
contents: read
37-
security-events: write
38-
39-
strategy:
40-
fail-fast: false
41-
matrix:
42-
language: [ 'java' ]
43-
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
44-
# Learn more about CodeQL language support at https://git.io/codeql-language-support
45-
46-
steps:
47-
- name: Checkout repository
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
name: "CodeQL"
17+
18+
on:
19+
push:
20+
branches: [ master ]
21+
pull_request:
22+
# The branches below must be a subset of the branches above
23+
branches: [ master ]
24+
schedule:
25+
- cron: '33 9 * * 4'
26+
27+
permissions:
28+
contents: read
29+
30+
jobs:
31+
analyze:
32+
name: Analyze
33+
runs-on: ubuntu-latest
34+
permissions:
35+
actions: read
36+
contents: read
37+
security-events: write
38+
39+
strategy:
40+
fail-fast: false
41+
matrix:
42+
language: [ 'java' ]
43+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
44+
# Learn more about CodeQL language support at https://git.io/codeql-language-support
45+
46+
steps:
47+
- name: Checkout repository
4848
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
49-
with:
50-
persist-credentials: false
49+
with:
50+
persist-credentials: false
5151
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
52-
with:
53-
path: ~/.m2/repository
54-
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
55-
restore-keys: |
56-
${{ runner.os }}-maven-
57-
58-
# Initializes the CodeQL tools for scanning.
59-
- name: Initialize CodeQL
52+
with:
53+
path: ~/.m2/repository
54+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
55+
restore-keys: |
56+
${{ runner.os }}-maven-
57+
58+
# Initializes the CodeQL tools for scanning.
59+
- name: Initialize CodeQL
6060
uses: github/codeql-action/init@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # 3.28.1
61-
with:
62-
languages: ${{ matrix.language }}
63-
# If you wish to specify custom queries, you can do so here or in a config file.
64-
# By default, queries listed here will override any specified in a config file.
65-
# Prefix the list here with "+" to use these queries and those in the config file.
66-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
67-
68-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
69-
# If this step fails, then you should remove it and run the build manually (see below)
70-
- name: Autobuild
61+
with:
62+
languages: ${{ matrix.language }}
63+
# If you wish to specify custom queries, you can do so here or in a config file.
64+
# By default, queries listed here will override any specified in a config file.
65+
# Prefix the list here with "+" to use these queries and those in the config file.
66+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
67+
68+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
69+
# If this step fails, then you should remove it and run the build manually (see below)
70+
- name: Autobuild
7171
uses: github/codeql-action/autobuild@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # 3.28.1
72-
73-
# ℹ️ Command-line programs to run using the OS shell.
74-
# 📚 https://git.io/JvXDl
75-
76-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
77-
# and modify them (or add more) to build your code if your project
78-
# uses a compiled language
79-
80-
#- run: |
81-
# make bootstrap
82-
# make release
83-
84-
- name: Perform CodeQL Analysis
72+
73+
# ℹ️ Command-line programs to run using the OS shell.
74+
# 📚 https://git.io/JvXDl
75+
76+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
77+
# and modify them (or add more) to build your code if your project
78+
# uses a compiled language
79+
80+
#- run: |
81+
# make bootstrap
82+
# make release
83+
84+
- name: Perform CodeQL Analysis
8585
uses: github/codeql-action/analyze@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # 3.28.1

.github/workflows/maven.yml

+47-47
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,52 @@
1-
# Licensed to the Apache Software Foundation (ASF) under one or more
2-
# contributor license agreements. See the NOTICE file distributed with
3-
# this work for additional information regarding copyright ownership.
4-
# The ASF licenses this file to You under the Apache License, Version 2.0
5-
# (the "License"); you may not use this file except in compliance with
6-
# the License. You may obtain a copy of the License at
7-
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
9-
#
10-
# Unless required by applicable law or agreed to in writing, software
11-
# distributed under the License is distributed on an "AS IS" BASIS,
12-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
# See the License for the specific language governing permissions and
14-
# limitations under the License.
15-
16-
name: Java CI
17-
18-
on: [push, pull_request]
19-
20-
permissions:
21-
contents: read
22-
23-
jobs:
24-
build:
25-
26-
runs-on: ubuntu-latest
27-
continue-on-error: ${{ matrix.experimental }}
28-
strategy:
29-
matrix:
30-
java: [ 8, 11, 17, 21, 23 ]
31-
experimental: [false]
32-
include:
33-
- java: 24-ea
34-
experimental: true
35-
36-
steps:
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
name: Java CI
17+
18+
on: [push, pull_request]
19+
20+
permissions:
21+
contents: read
22+
23+
jobs:
24+
build:
25+
26+
runs-on: ubuntu-latest
27+
continue-on-error: ${{ matrix.experimental }}
28+
strategy:
29+
matrix:
30+
java: [ 8, 11, 17, 21, 23 ]
31+
experimental: [false]
32+
include:
33+
- java: 24-ea
34+
experimental: true
35+
36+
steps:
3737
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
3838
with:
3939
persist-credentials: false
4040
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
41-
with:
42-
path: ~/.m2/repository
43-
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
44-
restore-keys: |
45-
${{ runner.os }}-maven-
46-
- name: Set up JDK ${{ matrix.java }}
41+
with:
42+
path: ~/.m2/repository
43+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
44+
restore-keys: |
45+
${{ runner.os }}-maven-
46+
- name: Set up JDK ${{ matrix.java }}
4747
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
48-
with:
49-
distribution: 'temurin'
50-
java-version: ${{ matrix.java }}
51-
- name: Build with Maven
52-
run: mvn --errors --show-version --batch-mode --no-transfer-progress
48+
with:
49+
distribution: 'temurin'
50+
java-version: ${{ matrix.java }}
51+
- name: Build with Maven
52+
run: mvn --errors --show-version --batch-mode --no-transfer-progress

0 commit comments

Comments
 (0)