From 4768dea9b292fa83fcc4936b46f4de46a9fab667 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Fri, 7 Apr 2023 12:51:22 +0200 Subject: [PATCH] upgrade trunk to latest --- .trunk/configs/.yamllint.yaml | 10 ++++++++++ .trunk/trunk.yaml | 18 ++++++++++-------- 2 files changed, 20 insertions(+), 8 deletions(-) create mode 100644 .trunk/configs/.yamllint.yaml diff --git a/.trunk/configs/.yamllint.yaml b/.trunk/configs/.yamllint.yaml new file mode 100644 index 0000000..4d44466 --- /dev/null +++ b/.trunk/configs/.yamllint.yaml @@ -0,0 +1,10 @@ +rules: + quoted-strings: + required: only-when-needed + extra-allowed: ["{|}"] + empty-values: + forbid-in-block-mappings: true + forbid-in-flow-mappings: true + key-duplicates: {} + octal-values: + forbid-implicit-octal: true diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index 4c10872..1ebabb1 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -1,23 +1,25 @@ version: 0.1 cli: - version: 1.3.1 + version: 1.7.0 plugins: sources: - id: trunk - ref: v0.0.8 + ref: v0.0.15 uri: https://github.com/trunk-io/plugins lint: enabled: - - buf-lint@1.12.0 - - buf-breaking@1.12.0 - - actionlint@1.6.22 + - yamllint@1.30.0 + - buf-lint@1.17.0 + - buf-breaking@1.17.0 + - actionlint@1.6.24 - markdownlint@0.33.0 - - prettier@2.8.3 - - gitleaks@8.15.2 + - prettier@2.8.7 + - gitleaks@8.16.2 - git-diff-check runtimes: enabled: - - go@1.18.3 + - python@3.10.8 + - go@1.19.5 - node@18.12.1 actions: disabled: