From 32443ae91bc1fa1cd063e416e958fc8c0716fbd7 Mon Sep 17 00:00:00 2001 From: Hunter Bown Date: Wed, 28 Jan 2026 09:58:28 -0600 Subject: [PATCH] Fix CI: Remove redundant toolchain input from dtolnay/rust-toolchain@stable The dtolnay/rust-toolchain action already specifies the toolchain version in the action reference (@stable). Adding toolchain: stable as an input was causing 'toolchain is a required input' errors. Fixed in: - ci.yml - release.yml - crates-publish.yml --- .github/workflows/ci.yml | 7 ------- .github/workflows/crates-publish.yml | 2 -- .github/workflows/release.yml | 1 - 3 files changed, 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a3f45d3a..3619af51 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,6 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable with: - toolchain: stable components: clippy, rustfmt - uses: Swatinem/rust-cache@v2 - name: Check formatting @@ -35,8 +34,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - uses: Swatinem/rust-cache@v2 - name: Run tests run: cargo test --all-features @@ -52,8 +49,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - uses: Swatinem/rust-cache@v2 - name: Build run: cargo build --release @@ -65,8 +60,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - uses: Swatinem/rust-cache@v2 - name: Build docs run: cargo doc --no-deps diff --git a/.github/workflows/crates-publish.yml b/.github/workflows/crates-publish.yml index 76c12482..bf621ac2 100644 --- a/.github/workflows/crates-publish.yml +++ b/.github/workflows/crates-publish.yml @@ -12,8 +12,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - uses: Swatinem/rust-cache@v2 - name: Verify version matches tag diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c2f79810..6b96e40d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,6 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable with: - toolchain: stable targets: ${{ matrix.target }} - run: cargo build --release --target ${{ matrix.target }} - name: Rename binary