diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 2d7f9a1d1..8fe63362c 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -69,6 +69,12 @@ jobs: with: machine-types: "['ubuntu-22.04']" + yaml-linting: + runs-on: ubuntu-22.04 + steps: + - name: Run yamllint with custom config + run: yamllint -c .trunk/configs/.yamllint.yaml ./github + post-pull-request-checks-automation: name: Post Pull Request Checks Automation needs: [build-and-test-larger-runners, build-and-test-nuget-test, spelling, powershell-static-code-analysis] diff --git a/.trunk/.gitignore b/.trunk/.gitignore new file mode 100644 index 000000000..1e2465290 --- /dev/null +++ b/.trunk/.gitignore @@ -0,0 +1,8 @@ +*out +*logs +*actions +*notifications +*tools +plugins +user_trunk.yaml +user.yaml diff --git a/.trunk/configs/.yamllint.yaml b/.trunk/configs/.yamllint.yaml new file mode 100644 index 000000000..b7600f5d8 --- /dev/null +++ b/.trunk/configs/.yamllint.yaml @@ -0,0 +1,6 @@ +rules: + quoted-strings: + required: false + key-duplicates: {} + octal-values: + forbid-implicit-octal: true diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml new file mode 100644 index 000000000..537fc2f24 --- /dev/null +++ b/.trunk/trunk.yaml @@ -0,0 +1,20 @@ +# This file controls the behavior of Trunk: https://docs.trunk.io/cli +# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml +version: 0.1 +cli: + version: 1.17.2 +# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins) +plugins: + sources: + - id: trunk + ref: v1.3.0 + uri: https://github.com/trunk-io/plugins +# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes) +runtimes: + enabled: + - node@18.12.1 + - python@3.10.8 +# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration) +lint: + enabled: + - yamllint@1.33.0 diff --git a/src/Libraries/Lombiq.HelpfulLibraries b/src/Libraries/Lombiq.HelpfulLibraries index 69880f2f1..ffd7762a1 160000 --- a/src/Libraries/Lombiq.HelpfulLibraries +++ b/src/Libraries/Lombiq.HelpfulLibraries @@ -1 +1 @@ -Subproject commit 69880f2f1c6f9dc248917d9193d2d986b0a91235 +Subproject commit ffd7762a17ffdde07e3508654b362de7d099deaa diff --git a/src/Libraries/Lombiq.OrchardCoreApiClient b/src/Libraries/Lombiq.OrchardCoreApiClient index e80a01111..ff4b4e8ed 160000 --- a/src/Libraries/Lombiq.OrchardCoreApiClient +++ b/src/Libraries/Lombiq.OrchardCoreApiClient @@ -1 +1 @@ -Subproject commit e80a01111801097103311dc5db50353449698977 +Subproject commit ff4b4e8ed8d35167648a264ec9b191f0de741418 diff --git a/src/Modules/Lombiq.ContentEditors b/src/Modules/Lombiq.ContentEditors index 035be9120..e671c47f2 160000 --- a/src/Modules/Lombiq.ContentEditors +++ b/src/Modules/Lombiq.ContentEditors @@ -1 +1 @@ -Subproject commit 035be9120e1dc94363aac48b80378a43cd489c05 +Subproject commit e671c47f293c9918a76171ded688cc9905b44a2c diff --git a/src/Modules/Lombiq.DataTables b/src/Modules/Lombiq.DataTables index eb4a401a3..3e2bf91dc 160000 --- a/src/Modules/Lombiq.DataTables +++ b/src/Modules/Lombiq.DataTables @@ -1 +1 @@ -Subproject commit eb4a401a3dcd807a8eda00af897c8ded7e1fd355 +Subproject commit 3e2bf91dc4e10fea7dbbb65132e6b38856ee91cd diff --git a/src/Modules/Lombiq.Hosting.Azure.ApplicationInsights b/src/Modules/Lombiq.Hosting.Azure.ApplicationInsights index 275f1530b..14bcc7190 160000 --- a/src/Modules/Lombiq.Hosting.Azure.ApplicationInsights +++ b/src/Modules/Lombiq.Hosting.Azure.ApplicationInsights @@ -1 +1 @@ -Subproject commit 275f1530b1aadaf972db07e2e3528fb297f24bac +Subproject commit 14bcc71906c1ded86c0c77d58759841c0035db51 diff --git a/src/Modules/Lombiq.Hosting.BuildVersionDisplay b/src/Modules/Lombiq.Hosting.BuildVersionDisplay index 156197700..6562e28d9 160000 --- a/src/Modules/Lombiq.Hosting.BuildVersionDisplay +++ b/src/Modules/Lombiq.Hosting.BuildVersionDisplay @@ -1 +1 @@ -Subproject commit 156197700ccb97c02bda22a449f807a35e359893 +Subproject commit 6562e28d90d45671e92f49fb028d4ffe3f7027a9 diff --git a/src/Modules/Lombiq.Hosting.Tenants b/src/Modules/Lombiq.Hosting.Tenants index adb4e3f8e..bce3d9928 160000 --- a/src/Modules/Lombiq.Hosting.Tenants +++ b/src/Modules/Lombiq.Hosting.Tenants @@ -1 +1 @@ -Subproject commit adb4e3f8efb809d06d3d08946b1f188c9e62ffde +Subproject commit bce3d99284e0b9193bd0a2ae7ba92a13932dff8a diff --git a/src/Modules/Lombiq.JsonEditor b/src/Modules/Lombiq.JsonEditor index 438073ca3..b8a42878c 160000 --- a/src/Modules/Lombiq.JsonEditor +++ b/src/Modules/Lombiq.JsonEditor @@ -1 +1 @@ -Subproject commit 438073ca3031f410ce10000d8b83f5a5e592d9b0 +Subproject commit b8a42878c72480e7ec6624e5e1161e57ac803b63 diff --git a/src/Modules/Lombiq.TrainingDemo b/src/Modules/Lombiq.TrainingDemo index b5611dfeb..a961b39eb 160000 --- a/src/Modules/Lombiq.TrainingDemo +++ b/src/Modules/Lombiq.TrainingDemo @@ -1 +1 @@ -Subproject commit b5611dfeb1245a5b260dc2f879507319c027e62e +Subproject commit a961b39ebab34730eb56c3c7108d2c83b4b02a3e diff --git a/src/Modules/Lombiq.UIKit b/src/Modules/Lombiq.UIKit index 73237b482..104761058 160000 --- a/src/Modules/Lombiq.UIKit +++ b/src/Modules/Lombiq.UIKit @@ -1 +1 @@ -Subproject commit 73237b48259ee731c8063524a9bc451e41efce5f +Subproject commit 10476105828bac2a40f1ec18338762d591792d56 diff --git a/src/Modules/Lombiq.VueJs b/src/Modules/Lombiq.VueJs index c68aab990..dea650e29 160000 --- a/src/Modules/Lombiq.VueJs +++ b/src/Modules/Lombiq.VueJs @@ -1 +1 @@ -Subproject commit c68aab9906fd98f372e002d9bc54c734d7c74bc1 +Subproject commit dea650e296b96a342b6b47ce90858be20fd36288 diff --git a/src/Themes/Lombiq.BaseTheme b/src/Themes/Lombiq.BaseTheme index 488bf8f32..bb71ec928 160000 --- a/src/Themes/Lombiq.BaseTheme +++ b/src/Themes/Lombiq.BaseTheme @@ -1 +1 @@ -Subproject commit 488bf8f32b74d59ec1076537a72a47a0372bfa8a +Subproject commit bb71ec928a7aafb5ceae767f33e568eb183915ab diff --git a/src/Themes/Lombiq.Hosting.MediaTheme b/src/Themes/Lombiq.Hosting.MediaTheme index 8ab1ee746..51fecb153 160000 --- a/src/Themes/Lombiq.Hosting.MediaTheme +++ b/src/Themes/Lombiq.Hosting.MediaTheme @@ -1 +1 @@ -Subproject commit 8ab1ee74648c8edfed9ffdfc14bfd35f87d94401 +Subproject commit 51fecb153a7ca5c0cf08b45e9f2c5ebbd0bd0186 diff --git a/src/Utilities/Lombiq.NodeJs.Extensions b/src/Utilities/Lombiq.NodeJs.Extensions index 81d4dc69a..045d82072 160000 --- a/src/Utilities/Lombiq.NodeJs.Extensions +++ b/src/Utilities/Lombiq.NodeJs.Extensions @@ -1 +1 @@ -Subproject commit 81d4dc69ad25f36ee7d01182389af313e0447391 +Subproject commit 045d82072d67f0657411a76180a6b1bb208cdd0b diff --git a/test/Lombiq.UITestingToolbox b/test/Lombiq.UITestingToolbox index 659d8a3e4..caf8db4bd 160000 --- a/test/Lombiq.UITestingToolbox +++ b/test/Lombiq.UITestingToolbox @@ -1 +1 @@ -Subproject commit 659d8a3e4bafc41fb09ee8242c8f14dbec1074ed +Subproject commit caf8db4bdeddf290141ab3255571ed1aab5bea6c diff --git a/tools/Lombiq.Analyzers.PowerShell b/tools/Lombiq.Analyzers.PowerShell index 2d83bfe82..91c7b1e6c 160000 --- a/tools/Lombiq.Analyzers.PowerShell +++ b/tools/Lombiq.Analyzers.PowerShell @@ -1 +1 @@ -Subproject commit 2d83bfe82451f664059a1bad252deefe8c14a31e +Subproject commit 91c7b1e6ccecaa460c29ab3de6658532ce54afd2 diff --git a/tools/Lombiq.GitHub.Actions b/tools/Lombiq.GitHub.Actions index 3f25d64a6..d6983fb02 160000 --- a/tools/Lombiq.GitHub.Actions +++ b/tools/Lombiq.GitHub.Actions @@ -1 +1 @@ -Subproject commit 3f25d64a6b29383554bb90e304a119ed25ba90b8 +Subproject commit d6983fb02d3fad8492bf45c592b966d6e4374b6f