Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#3035: Add yamllint GHA #3124

Merged
merged 8 commits into from
Apr 22, 2024
Prev Previous commit
Next Next commit
fix(#3035): fix ./eo-maven-plugin yaml linting errors and warnings
slry committed Apr 21, 2024
commit 03d59a7608b9dde2197d415e0723f8008a789634
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
sheets:
- /org/eolang/maven/add_rust/add_rust.xsl
document:
@@ -55,4 +56,4 @@ document:
asserts:
- /program/rusts/rust[@code_loc='Φ.org.eolang.creates-object.r.α0']
- /program/rusts/rust/dependencies/dependency[@name='72 65 6F 3A 20 30 2E 30 2E 32']
- /program/rusts/rust/dependencies/dependency[@name='72 61 6E 64 3A 20 30 2E 35 2E 35']
- /program/rusts/rust/dependencies/dependency[@name='72 61 6E 64 3A 20 30 2E 35 2E 35']
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
xsls:
- /org/eolang/parser/wrap-method-calls.xsl
- /org/eolang/parser/optimize/globals-to-abstracts.xsl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
xsls:
- /org/eolang/parser/add-default-package.xsl
- /org/eolang/maven/pre/classes.xsl
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
# The aim of this test is to check that entire pipeline with
# scoped objects works as expected without creating any warnings or errors.
# Pay attention and to-java.xsl transformations.
---
xsls:
- /org/eolang/parser/errors/not-empty-atoms.xsl
- /org/eolang/parser/critical-errors/duplicate-names.xsl
@@ -58,10 +59,10 @@ eo: |
+tests
+package org.eolang
+version 0.0.0
# This is the default 64+ symbols comment in front of named abstract object.
[] > main
* 0 (* 1 2) > arr
eq > @
* ((arr.at 1).at 1)
* 2
* 2
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
xsls:
- /org/eolang/parser/add-default-package.xsl
- /org/eolang/parser/explicit-data.xsl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
xsls:
- /org/eolang/parser/add-default-package.xsl
- /org/eolang/maven/pre/classes.xsl
@@ -13,7 +14,7 @@ eo: |
[] > foo
5 > five
a > @
# This is the default 64+ symbols comment in front of named abstract object.
[] > a
# This is the default 64+ symbols comment in front of named abstract object.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
xsls:
- /org/eolang/parser/wrap-method-calls.xsl
- /org/eolang/parser/optimize/globals-to-abstracts.xsl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
xsls:
- /org/eolang/parser/add-default-package.xsl
- /org/eolang/parser/wrap-method-calls.xsl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
xsls:
- /org/eolang/parser/add-default-package.xsl
- /org/eolang/parser/optimize/abstracts-float-up.xsl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
xsls:
- /org/eolang/maven/pre/classes.xsl
- /org/eolang/maven/pre/package.xsl
@@ -6,7 +7,7 @@ tests:
- //class[@name='bar' and @package='foo.long-name']
eo: |
+package foo.long-name
# This is the default 64+ symbols comment in front of named abstract object.
[] > bar
"hello"
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
# The aim of this test is to check that entire pipeline with
# scoped objects works as expected without creating any warnings or errors.
# Pay attention to to-java.xsl transformations.
---
xsls:
- /org/eolang/parser/errors/not-empty-atoms.xsl
- /org/eolang/parser/critical-errors/duplicate-names.xsl
@@ -58,10 +59,10 @@ eo: |
+tests
+package org.eolang
+version 0.0.0
# This is the default 64+ symbols comment in front of named abstract object.
[] > method
* 1 (* "one" "two") 3 > res
eq > @
* res.length ((res.at 1).at 1)
* 3 "two"
* 3 "two"
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
xsls:
- /org/eolang/parser/add-default-package.xsl
- /org/eolang/maven/pre/classes.xsl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
xsls:
- /org/eolang/parser/optimize/abstracts-float-up.xsl
- /org/eolang/maven/pre/classes.xsl
@@ -12,7 +13,7 @@ tests:
- //o[@base='ω2c' and @name='c']
eo: |
+tests
# This is the default 64+ symbols comment in front of named abstract object.
[] > a
# This is the default 64+ symbols comment in front of named abstract object.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
xsls:
- /org/eolang/parser/wrap-method-calls.xsl
- /org/eolang/parser/optimize/globals-to-abstracts.xsl
@@ -17,7 +18,7 @@ tests:
- //java[contains(text(), '@Test')]
eo: |
+tests
# This is the default 64+ symbols comment in front of named abstract object.
[] > works
1.eq 1 > @
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
xsls:
- /org/eolang/parser/stars-to-tuples.xsl
- /org/eolang/parser/stars-to-tuples.xsl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
xsls:
- /org/eolang/parser/add-default-package.xsl
- /org/eolang/maven/pre/classes.xsl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
eo: |
# This is the default 64+ symbols comment in front of named abstract object.
[] > prints-itself
@@ -23,4 +24,4 @@ phi: |
)
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
eo: |
# This is the default 64+ symbols comment in front of named abstract object.
[] > main /int
@@ -17,4 +18,4 @@ phi: |
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
eo: |
x > xyz
y:attr
@@ -20,4 +21,4 @@ phi: |
)
)
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
eo: |
# The MIT License (MIT)
#
@@ -132,4 +133,4 @@ phi: |
λ ⤍ Package
}
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
eo: |
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang
+rt jvm org.eolang:eo-runtime:0.0.0
+version 0.0.0
+version 0.0.0
# This is the default 64+ symbols comment in front of named abstract object.
[] > bytes
# This is the default 64+ symbols comment in front of named abstract object.
@@ -133,4 +134,4 @@ phi: |
λ ⤍ Package
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
eo: |
+package foo.bar
+alias com.yegor256.x
# This is the default 64+ symbols comment in front of named abstract object.
[y] > main
x y > z
@@ -21,4 +22,4 @@ phi: |
λ ⤍ Package
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
eo: -- > empty
phi: |
{
@@ -6,4 +7,4 @@ phi: |
Δ ⤍ --
)
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
eo: |
# This is the default 64+ symbols comment in front of named abstract object.
[z] > main
@@ -13,4 +14,4 @@ phi: |
y ↦ Φ.org.eolang.seq
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
eo: |
+package eo.example
@@ -54,4 +55,4 @@ phi: |
λ ⤍ Package
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
eo: |
QQ.io.stdout > std
Q.org.eolang.x > y
@@ -7,4 +8,4 @@ phi: |
std ↦ Φ.org.eolang.io.stdout,
y ↦ Φ.org.eolang.x
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
eo: |
# This is the default 64+ symbols comment in front of named abstract object.
[] > iterates-over-simple-counter
@@ -66,4 +67,4 @@ phi: |
)
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
eo: |
+package org.eolang.benchmark
@@ -40,4 +41,4 @@ phi: |
λ ⤍ Package
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
eo: x.y.z > xyz
phi: |
{
xyz ↦ Φ.org.eolang.x.y.z
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
eo: |
# This is the default 64+ symbols comment in front of named abstract object.
[a] > main
@@ -34,4 +35,4 @@ phi: |
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
eo: A2- > bts
phi: |
{
@@ -6,4 +7,4 @@ phi: |
Δ ⤍ A2-
)
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
eo: |
+package foo.bar.baz
# This is the default 64+ symbols comment in front of named abstract object.
[] > main
stdout > @
@@ -20,4 +21,4 @@ phi: |
λ ⤍ Package
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
eo: |
# Test.
[] > compiles-correctly-with-long-duplicate-names
@@ -28,4 +29,4 @@ phi: |
φ ↦ Φ.org.eolang.true
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
eo: |
# This is the default 64+ symbols comment in front of named abstract object.
[] > main
@@ -15,4 +16,4 @@ phi: |
phi ↦ ξ.φ.φ
}
}
Loading