-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmise.toml
More file actions
30 lines (25 loc) · 683 Bytes
/
Copy pathmise.toml
File metadata and controls
30 lines (25 loc) · 683 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
[tools]
gh = "latest"
jq = "latest"
shellcheck = "latest"
shfmt = "latest"
bats = "latest"
actionlint = "latest"
[tasks.lint]
description = "Run shellcheck + actionlint"
run = [
"shellcheck scripts/*.sh tests/helpers/bin/gh",
"actionlint .github/workflows/*.yml",
]
[tasks.format]
description = "Format shell scripts with shfmt"
run = "shfmt -w scripts/*.sh tests/helpers/bin/gh"
[tasks.format-check]
description = "Verify shell scripts are formatted"
run = "shfmt -d scripts/*.sh tests/helpers/bin/gh"
[tasks.test]
description = "Run bats test suite"
run = "bats tests/"
[tasks.check]
description = "Lint, format-check, and test"
depends = ["lint", "format-check", "test"]