From add85822d024ec49532e25c747b6f8d0474750c7 Mon Sep 17 00:00:00 2001 From: eryajf Date: Fri, 19 Jan 2024 22:42:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0yaml-lint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/yaml-lint.yml | 9 +++++++++ items/Database/dragonfly.yaml | 2 +- items/Kafka-Manage/EFAK.yaml | 2 +- template/README-en.tpl | 2 +- template/README.tpl | 2 +- 5 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/yaml-lint.yml diff --git a/.github/workflows/yaml-lint.yml b/.github/workflows/yaml-lint.yml new file mode 100644 index 0000000..06044c3 --- /dev/null +++ b/.github/workflows/yaml-lint.yml @@ -0,0 +1,9 @@ +name: Yaml Lint +on: [push, pull_request] +jobs: + lintAllTheThings: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: yaml-lint + uses: ibiqlik/action-yamllint@v3 \ No newline at end of file diff --git a/items/Database/dragonfly.yaml b/items/Database/dragonfly.yaml index 7a181db..80e3854 100644 --- a/items/Database/dragonfly.yaml +++ b/items/Database/dragonfly.yaml @@ -2,4 +2,4 @@ kind: Database owner: dragonflydb repo: dragonfly desc: 'Dragonfly是一种针对现代应用程序负荷需求而构建的内存数据库,完全兼容Redis和Memcached的 API,迁移时无需修改任何代码。相比于这些传统的内存数据库,Dragonfly提供了其25倍的吞吐量,高缓存命中率和低尾延迟,并且对于相同大小的工作负载运行资源最多可减少80%。' -desc_en: 'Dragonfly is an in-memory database built for modern applications' load demands, fully compatible with Redis and Memcached APIs, and no code changes are required when migrating. Compared to these traditional in-memory databases, Dragonfly offers 25 times the throughput, high cache hit rates and low tail latency, and can reduce resources for the same size workload by up to 80%.' \ No newline at end of file +desc_en: 'Dragonfly is an in-memory database built for modern applications load demands, fully compatible with Redis and Memcached APIs, and no code changes are required when migrating. Compared to these traditional in-memory databases, Dragonfly offers 25 times the throughput, high cache hit rates and low tail latency, and can reduce resources for the same size workload by up to 80%.' \ No newline at end of file diff --git a/items/Kafka-Manage/EFAK.yaml b/items/Kafka-Manage/EFAK.yaml index 3115e0d..2e7baa7 100644 --- a/items/Kafka-Manage/EFAK.yaml +++ b/items/Kafka-Manage/EFAK.yaml @@ -2,4 +2,4 @@ kind: Kafka-Manage owner: obsidiandynamics repo: EFAK desc: '一个开源的 Kafka 集群管理和监控工具,旨在帮助用户更好地管理和监控其 Kafka 集群。' -desc_en: 'A easy and high-performance monitoring system, for comprehensive monitoring and management of kafka cluster.'https://github.com/smartloli/EFAK/blob/main/efak-docs/imgs/3.png \ No newline at end of file +desc_en: 'A easy and high-performance monitoring system, for comprehensive monitoring and management of kafka cluster.' \ No newline at end of file diff --git a/template/README-en.tpl b/template/README-en.tpl index 9aa6872..3730daf 100644 --- a/template/README-en.tpl +++ b/template/README-en.tpl @@ -26,7 +26,7 @@ Special welcome to all friends to surf, learn, reference in the project list. Wh 📢 If you plan to apply it in your production environment, please evaluate the selection based on the project's open source license, star count, last update time and other factors. -🧐 Divided into {{lenGroupNum}} categories. 📥 Includes {{lenItemNum}} entries. +🧐 Divided into {{lenGroupNum}} categories. 📥 Includes {{lenItemNum "eryajf" "awesome-ops"}} entries. {{- range $key, $val := .}} diff --git a/template/README.tpl b/template/README.tpl index 8c60fe4..6e02a8c 100644 --- a/template/README.tpl +++ b/template/README.tpl @@ -26,7 +26,7 @@ 📢 如果你打算应用在自己所在的生产环境,请结合项目的开源协议,Star数,最后更新时间等综合评估之后进行选型。 -🧐 分设类目 {{lenGroupNum}} 个。📥 收录项目 {{lenItemNum}} 个。 +🧐 分设类目 {{lenGroupNum}} 个。📥 收录项目 {{lenItemNum "eryajf" "awesome-ops"}} 个。 {{- range $key, $val := .}}