From b7f732271ec136e0f704996114918d0dbed42844 Mon Sep 17 00:00:00 2001 From: Nikolas Grottendieck Date: Sat, 19 Oct 2024 18:43:53 +0200 Subject: [PATCH] realign with Okeanos/template-repository --- .github/workflows/verify.yml | 19 +++---------------- .mise.toml | 4 ++-- 2 files changed, 5 insertions(+), 18 deletions(-) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 6c4bc24..dca311e 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -24,10 +24,6 @@ on: description: Run Markdown linter default: true type: boolean - opentofu: - description: Run OpenTofu (Terraform/HCL/OpenTofu linter) - default: false - type: boolean shellcheck: description: Run shellcheck (shell script linter) default: true @@ -68,14 +64,14 @@ jobs: - uses: actions/checkout@v4 - name: Install Gitleaks env: - GITLEAKS_VERSION: "8.18.4" - GITLEAKS_SHASUM: "ba6dbb656933921c775ee5a2d1c13a91046e7952e9d919f9bac4cec61d628e7d" + GITLEAKS_VERSION: "8.21.1" + GITLEAKS_SHASUM: "b1e20dfbd81fa5eeefc91ace3371d4db75d2250c0d426cb6acf1e51722726779" run: | curl --fail --silent --show-error --location --output gitleaks.tar.gz \ https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/gitleaks_${GITLEAKS_VERSION}_linux_x64.tar.gz echo "${GITLEAKS_SHASUM} gitleaks.tar.gz" | sha256sum --check tar -xzf gitleaks.tar.gz gitleaks - ./gitleaks detect --verbose --redact --no-git . + ./gitleaks dir --verbose --redact . hadolint: runs-on: ubuntu-latest if: ${{ inputs.hadolint || false }} @@ -91,15 +87,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: DavidAnson/markdownlint-cli2-action@v17 - opentofu: - runs-on: ubuntu-latest - if: ${{ inputs.opentofu || false }} - steps: - - uses: actions/checkout@v4 - - uses: opentofu/setup-opentofu@v1 - - name: OpenTofu fmt - id: fmt - run: tofu fmt -check -diff -recursive shellcheck: runs-on: ubuntu-latest if: ${{ inputs.shellcheck || true }} diff --git a/.mise.toml b/.mise.toml index ab716d2..1d24bf7 100644 --- a/.mise.toml +++ b/.mise.toml @@ -3,11 +3,11 @@ [plugins] taplo = "https://github.com/Okeanos/asdf-taplo" -# See https://github.com/mise-plugins/registry for what is officially available +# See https://github.com/jdx/mise/blob/main/registry.toml for what is officially available # Everything else is just declared as a reference to keep track of it. [tools] editorconfig-checker = "3.0.3" - gitleaks = "8.18.4" + gitleaks = "8.21.1" markdownlint-cli2 = "0.13.0" node = "18" shellcheck = "0.10.0"