Skip to content

Commit cf33762

Browse files
committedDec 5, 2024··
#119 yml fix
1 parent c6368b6 commit cf33762

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed
 

‎.github/workflows/yamllint.yml

+2
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ jobs:
4040
steps:
4141
- uses: actions/checkout@v4
4242
- uses: ibiqlik/action-yamllint@v3
43+
with:
44+
config-file: .github/yamllint.yml

‎.github/yamllint.yaml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# The MIT License (MIT)
2+
#
3+
# Copyright (c) 2016-2024 Objectionary.com
4+
#
5+
# Permission is hereby granted, free of charge, to any person obtaining a copy
6+
# of this software and associated documentation files (the "Software"), to deal
7+
# in the Software without restriction, including without limitation the rights
8+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
# copies of the Software, and to permit persons to whom the Software is
10+
# furnished to do so, subject to the following conditions:
11+
#
12+
# The above copyright notice and this permission notice shall be included
13+
# in all copies or substantial portions of the Software.
14+
#
15+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
18+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
# SOFTWARE.
22+
---
23+
extends: default
24+
rules:
25+
line-length: disable
26+
brackets:
27+
min-spaces-inside: 1
28+
max-spaces-inside: 2
29+
truthy:
30+
level: warning
31+
allowed-values: [ 'on', 'true', 'false', 'yes', 'no' ]

‎.rultor.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# OF THE POSSIBILITY OF SUCH DAMAGE.
2828
---
2929
docker:
30-
image: yegor256/rultor-image:1.21.0
30+
image: yegor256/rultor-java
3131
assets:
3232
settings.xml: yegor256/home#assets/jcabi/settings.xml
3333
secring.gpg: yegor256/home#assets/secring.gpg
@@ -43,5 +43,6 @@ release:
4343
[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1
4444
mvn versions:set "-DnewVersion=${tag}" --batch-mode
4545
git commit -am "${tag}"
46+
export MAVEN_OPTS="--add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED"
4647
mvn clean deploy -Pqulice -Psonatype -Pjcabi --batch-mode --errors --settings ../settings.xml
4748
mvn clean site-deploy -Psite --errors --settings ../settings.xml --batch-mode

0 commit comments

Comments
 (0)
Please sign in to comment.