Use rustup directly instead of dtolnay/rust-toolchain
Assisted-by: Claude Opus 4.6 via pi
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 81a84e8..23c31cb 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -10,9 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- - uses: dtolnay/rust-toolchain@stable
- with:
- components: clippy, rustfmt
+ - run: rustup component add clippy rustfmt
- run: cargo fmt --check
- run: cargo check
- run: cargo clippy
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index bf81470..94ee5f1 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -19,8 +19,6 @@ jobs:
with:
fetch-depth: 0
- - uses: dtolnay/rust-toolchain@stable
-
- name: Calculate version
id: version
run: |