-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmise.toml
More file actions
32 lines (26 loc) · 854 Bytes
/
mise.toml
File metadata and controls
32 lines (26 loc) · 854 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[tools]
ruby = "3.3.9"
terragrunt = "0.86.0"
# Use a direct tarball URL so mise doesn't call the GitHub API
opentofu = { version = "1.6.2", url = "https://github.com/opentofu/opentofu/releases/download/v1.6.2/opentofu_1.6.2_linux_amd64.tar.gz" }
[tasks.build]
description = "Build the Jekyll project"
run = "bundle exec jekyll build"
[tasks.lint]
description = "Run all linters"
depends = ["build"]
run = [
# Ruby lint
"bundle exec rubocop",
# Terraform lint
"tflint --init",
"tflint --chdir terraform/website/ -c ../../.tflint.hcl",
# HTML linting
"bundle exec htmlproofer ./_site --check-external-hash"
]
[tasks.serve]
description = "Serve the Jekyll project with live reload"
run = "bundle exec jekyll serve --livereload --watch --port 4000 --host 127.0.0.1"
[tasks.default]
description = "Default task"
depends = ["test", "lint"]