From 355109c1054e75bde4c8f07563b65d867a20f9f3 Mon Sep 17 00:00:00 2001 From: Justin Bennett Date: Sat, 11 Oct 2025 11:03:30 -0400 Subject: [PATCH 1/3] Drop rust cache --- .github/workflows/verify.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 5da41e5..c8dc2ca 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -13,12 +13,6 @@ jobs: cache_key_prefix: mise-{{hashFiles('mise.toml')}} experimental: true - - name: Setup Rust cache - uses: Swatinem/rust-cache@v2 - with: - cache-on-failure: true - shared-key: mise-{{hashFiles('mise.toml')}} - - name: Lint run: mise lint From d473bfaafad297c9332cc588ad02a740f4c89427 Mon Sep 17 00:00:00 2001 From: Justin Bennett Date: Sat, 11 Oct 2025 11:17:40 -0400 Subject: [PATCH 2/3] Make sure rustfmt is explicitly present --- .github/workflows/verify.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index c8dc2ca..a5927c2 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -13,6 +13,10 @@ jobs: cache_key_prefix: mise-{{hashFiles('mise.toml')}} experimental: true + - uses: actions-rust-lang/setup-rust-toolchain@v1 + with: + components: rustfmt + - name: Lint run: mise lint @@ -38,11 +42,9 @@ jobs: cache_key_prefix: mise-{{hashFiles('mise.toml')}} experimental: true - - name: Setup Rust cache - uses: Swatinem/rust-cache@v2 + - uses: actions-rust-lang/setup-rust-toolchain@v1 with: - cache-on-failure: true - shared-key: "mise-{{hashFiles('mise.toml')}}" + components: rustfmt - name: Run codegen run: mise run gen From c86082933c099622655e4d181885d0c62eab3ab1 Mon Sep 17 00:00:00 2001 From: Justin Bennett Date: Sat, 11 Oct 2025 11:27:59 -0400 Subject: [PATCH 3/3] Add 'mise trust' command to GitHub CI workflow --- .github/workflows/verify.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index a5927c2..bdb0df8 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -13,6 +13,8 @@ jobs: cache_key_prefix: mise-{{hashFiles('mise.toml')}} experimental: true + - run: mise trust + - uses: actions-rust-lang/setup-rust-toolchain@v1 with: components: rustfmt @@ -42,6 +44,8 @@ jobs: cache_key_prefix: mise-{{hashFiles('mise.toml')}} experimental: true + - run: mise trust + - uses: actions-rust-lang/setup-rust-toolchain@v1 with: components: rustfmt