Skip to content

Commit

Permalink
realign with Okeanos/template-repository
Browse files Browse the repository at this point in the history
  • Loading branch information
Okeanos committed Oct 19, 2024
1 parent 23d92d6 commit ada03c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 18 deletions.
19 changes: 3 additions & 16 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions .mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
shellcheck = "0.10.0"
shfmt = "3.9.0"
Expand Down

0 comments on commit ada03c5

Please sign in to comment.