Skip to content

Commit 92eda40

Browse files
committed
install mise
1 parent c967fb3 commit 92eda40

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/go-lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,5 @@ jobs:
3838
- uses: actions/setup-go@v6
3939
with:
4040
go-version-file: "go.work"
41-
- run: mise run lint::golangci
41+
- uses: jdx/mise-action@v3
42+
- run: mise lint:golangci

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,9 @@ jobs:
6161
go-version-file: "go.work"
6262
- name: install nextest
6363
uses: taiki-e/install-action@nextest
64+
- uses: jdx/mise-action@v3
6465
- run: |
65-
mise run test
66+
mise test
6667
env:
6768
# To minimize compile times: https://nnethercote.github.io/perf-book/build-configuration.html#minimizing-compile-times
6869
RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=lld"

mise.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ cargo clean
9393
rm -rf node_modules
9494
'''
9595

96-
[tasks."test::docs"]
96+
[tasks."test:docs"]
9797
# nextest doesn't run doctests https://github.com/nextest-rs/nextest/issues/16
9898
# We need to run them separately.
9999
description = "Run doctests."
@@ -106,7 +106,7 @@ run = '''
106106
cargo nextest run --cargo-profile ${usage_profile?} --workspace --no-fail-fast
107107
'''
108108

109-
[tasks."test::rust"]
109+
[tasks."test:rust"]
110110
description = "Run Rust unit and integration tests."
111111
usage = '''
112112
arg "<profile>" help="Build profile (quick, release, etc.)" default="quick" {
@@ -119,7 +119,7 @@ cargo nextest run --cargo-profile ${usage_profile?} --workspace --no-fail-fast
119119

120120
[tasks.test]
121121
description = "Run all tests."
122-
depends = ["test::*"]
122+
depends = ["test:*"]
123123

124124
[tasks.codecov]
125125
description = "Generate codecov report"

0 commit comments

Comments
 (0)