diff options
Diffstat
| -rw-r--r-- | .github/workflows/build.yml | 16 | +13 −3 |
| -rw-r--r-- | .github/workflows/legal.yml | 1 | +1 −0 |
| -rw-r--r-- | REUSE.toml | 1 | +1 −0 |
| -rw-r--r-- | mise.lock | 9 | +9 −0 |
| -rw-r--r-- | mise.toml | 8 | +7 −1 |
5 files changed, 31 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 17a282e..c908213 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,9 +22,13 @@ jobs: steps: - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - - uses: dtolnay/rust-toolchain@4be9e76fd7c4901c61fb841f559994984270fce7 # stable + - uses: jdx/mise-action@5228313ee0372e111a38da051671ca30fc5a96db # v3 with: - components: clippy, rustfmt + version: 2026.7.5 + experimental: true + install: false + - name: Install dependencies + run: mise bootstrap --locked --yes - uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2 - name: Check formatting @@ -48,7 +52,13 @@ jobs: steps: - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - - uses: dtolnay/rust-toolchain@4be9e76fd7c4901c61fb841f559994984270fce7 # stable + - uses: jdx/mise-action@5228313ee0372e111a38da051671ca30fc5a96db # v3 + with: + version: 2026.7.5 + experimental: true + install: false + - name: Install dependencies + run: mise bootstrap --locked --yes - uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2 - name: Build diff --git a/.github/workflows/legal.yml b/.github/workflows/legal.yml index 2d5d69c..2886f52 100644 --- a/.github/workflows/legal.yml +++ b/.github/workflows/legal.yml @@ -25,6 +25,7 @@ jobs: with: version: 2026.7.5 experimental: true + install: false - name: Check contribution sign-off run: mise run signoff diff --git a/REUSE.toml b/REUSE.toml index 29ec511..9ad56a8 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -7,6 +7,7 @@ version = 1 path = [ "Cargo.toml", "Cargo.lock", + "mise.lock", ] SPDX-FileCopyrightText = "2026 Nikolay Govorov" SPDX-License-Identifier = "Apache-2.0" diff --git a/mise.lock b/mise.lock new file mode 100644 --- /dev/null +++ b/mise.lock @@ -0,0 +1,9 @@ +# @generated - this file is auto-generated by `mise lock` https://mise.jdx.dev/dev-tools/mise-lock.html + +[[tools.rust]] +version = "1.97.1" +backend = "core:rust" + +[tools.rust.options] +components = "clippy,rustfmt" +profile = "minimal" diff --git a/mise.toml b/mise.toml index 0502c53..f2df3de 100644 --- a/mise.toml +++ b/mise.toml @@ -6,8 +6,14 @@ min_version = "2026.7.5" [settings] experimental = true +[tools] +rust = { version = "1.97.1", profile = "minimal", components = [ + "clippy", + "rustfmt", +] } + [task_config] dir = "{{cwd}}" includes = [ - "git::https://github.com/dimidiumlabs/infra.git//tasks?ref=1934f5fb264ab046031d5d1b61227de2e1f8dde9", + "git::https://github.com/dimidiumlabs/infra.git//tasks?ref=e5ca3be4349af3d1da2dde9d1165d52fb014a371", ] |
