Skip to content

Commit 21ff0e3

Browse files
committed
ci: use mise.lock
1 parent dd694c4 commit 21ff0e3

File tree

4 files changed

+38
-10
lines changed

4 files changed

+38
-10
lines changed

.github/workflows/ci.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ concurrency:
1111
group: ${{ github.workflow }}-${{ github.ref }}
1212
cancel-in-progress: true
1313

14-
env:
15-
MISE_EXPERIMENTAL: true # required for go for now
16-
1714
jobs:
1815
ci:
1916
runs-on: ubuntu-latest

hk.pkl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,10 @@ hooks = new {
8383
}
8484
["pre-push"] {
8585
steps = new {
86-
["pch-no-commit-to-branch"] {
87-
run = "no-commit-to-branch --branch=main"
88-
}
86+
// FYI: PRs aren't required for this project
87+
// ["pch-no-commit-to-branch"] {
88+
// run = "no-commit-to-branch --branch=main"
89+
// }
8990
...pre_push_checks
9091
...linters
9192
}

mise.lock

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[tools.go]
2+
version = "1.24.2"
3+
backend = "core:go"
4+
5+
[tools."go:github.com/Antonboom/testifylint"]
6+
version = "1.6.1"
7+
backend = "go:github.com/Antonboom/testifylint"
8+
9+
[tools."go:github.com/rhysd/actionlint/cmd/actionlint"]
10+
version = "1.7.7"
11+
backend = "go:github.com/rhysd/actionlint/cmd/actionlint"
12+
13+
[tools."pipx:commitizen"]
14+
version = "4.5.0"
15+
backend = "pipx:commitizen"
16+
17+
[tools."pipx:pre-commit-hooks"]
18+
version = "5.0.0"
19+
backend = "pipx:pre-commit-hooks"
20+
21+
[tools."pipx:sqlfluff"]
22+
version = "3.3.1"
23+
backend = "pipx:sqlfluff"
24+
25+
[tools."pipx:toml-sort"]
26+
version = "0.24.2"
27+
backend = "pipx:toml-sort"

mise.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[settings]
2+
experimental = true # required for go for now
3+
14
[tasks.ci]
25
depends = ["test"]
36
description = "Use in GitHub Actions"
@@ -35,10 +38,10 @@ description = "Update dependencies"
3538
run = ["go get -u ./...", "go mod tidy"]
3639

3740
[tools] # Upgrade with `mise upgrade --bump`
38-
go = "1.24.2"
39-
"go:github.com/Antonboom/testifylint" = "1.6.1"
40-
"go:github.com/rhysd/actionlint/cmd/actionlint" = "1.7.7"
41+
go = "latest"
42+
"go:github.com/Antonboom/testifylint" = "latest"
43+
"go:github.com/rhysd/actionlint/cmd/actionlint" = "latest"
4144
"pipx:commitizen" = "latest"
4245
"pipx:pre-commit-hooks" = "latest"
4346
"pipx:sqlfluff" = "latest"
44-
"pipx:toml-sort" = "0.24.2"
47+
"pipx:toml-sort" = "latest"

0 commit comments

Comments
 (0)