Skip to content

Commit e5a6744

Browse files
committed
Update GHA workflows & Checkstyle
1 parent d0536d2 commit e5a6744

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/auto-jdk-matrix.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ name: Auto JDK Matrix Test & Install
22

33
on:
44
# push:
5-
# paths-ignore: [ '**/*.html', '**/*.md', '**/*.txt', '**/*.yaml', '**/*.yml', '**/LICENSE', '**/NOTICE' ]
6-
# branches: [ 'main', '[0-9]+.[0-9]+.[Xx]' ]
5+
# paths-ignore: [ '**/*.html', '**/*.md', '**/*.txt', '**/LICENSE', '**/NOTICE' ]
6+
# branches: [ 'main', '[0-9]+.[0-9]+.[Xx]', 'v[0-9]+.[0-9]+.[Xx]' ]
77
# pull_request:
8-
# paths-ignore: [ '**/*.html', '**/*.md', '**/*.txt', '**/*.yaml', '**/*.yml', '**/LICENSE', '**/NOTICE' ]
8+
# paths-ignore: [ '**/*.html', '**/*.md', '**/*.txt', '**/LICENSE', '**/NOTICE' ]
99
# # The branches below must be a subset of the branches above
10-
# branches: [ 'main', '[0-9]+.[0-9]+.[Xx]' ]
10+
# branches: [ 'main', '[0-9]+.[0-9]+.[Xx]', 'v[0-9]+.[0-9]+.[Xx]' ]
1111
workflow_dispatch:
1212

1313
env:

.github/workflows/auto-os-matrix.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ name: Auto OS Matrix Test & Install
22

33
on:
44
# push:
5-
# paths-ignore: [ '**/*.html', '**/*.md', '**/*.txt', '**/*.yaml', '**/*.yml', '**/LICENSE', '**/NOTICE' ]
6-
# branches: [ 'main', '[0-9]+.[0-9]+.[Xx]' ]
5+
# paths-ignore: [ '**/*.html', '**/*.md', '**/*.txt', '**/LICENSE', '**/NOTICE' ]
6+
# branches: [ 'main', '[0-9]+.[0-9]+.[Xx]', 'v[0-9]+.[0-9]+.[Xx]']
77
# pull_request:
8-
# paths-ignore: [ '**/*.html', '**/*.md', '**/*.txt', '**/*.yaml', '**/*.yml', '**/LICENSE', '**/NOTICE' ]
8+
# paths-ignore: [ '**/*.html', '**/*.md', '**/*.txt', '**/LICENSE', '**/NOTICE' ]
99
# # The branches below must be a subset of the branches above
10-
# branches: [ 'main', '[0-9]+.[0-9]+.[Xx]' ]
10+
# branches: [ 'main', '[0-9]+.[0-9]+.[Xx]' 'v[0-9]+.[0-9]+.[Xx]']
1111
workflow_dispatch:
1212

1313
env:

tools/MemoryCheckstyle.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,16 @@ under the License.
3838
<property name="fileExtensions" value="java"/>
3939
<property name="basedir" value="${basedir}"/>
4040

41-
<!-- Exclude all module-info.java files and all test files
41+
<!-- Exclude all module-info.java files
4242
https://checkstyle.org/filefilters/beforeexecutionexclusionfilefilter.html#BeforeExecutionExclusionFileFilter -->
4343
<module name="BeforeExecutionExclusionFileFilter">
44-
<property name="fileNamePattern" value="(.*[\\/]test[\\/].*$)|(module\-info\.java$)"/>
44+
<property name="fileNamePattern" value="module\-info\.java$"/>
4545
</module>
4646

47-
<!-- Exclude all src/test/... files and all module-info files
47+
<!-- Exclude all src/test/... files -->
4848
<module name="BeforeExecutionExclusionFileFilter">
4949
<property name="fileNamePattern" value=".*[\\/]src[\\/]test[\\/].*$"/>
50-
</module> -->
50+
</module>
5151

5252
<module name="FileTabCharacter">
5353
<property name="eachLine" value="true"/>

0 commit comments

Comments
 (0)