diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1aa7657..aa0cd4f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,9 +35,10 @@ jobs: uses: actions/checkout@v4 - name: Setup Rust - uses: dtolnay/rust-toolchain@stable - with: - components: clippy, rustfmt + run: rustup update stable && rustup default stable + + - name: Install clippy and rustfmt + run: rustup component add clippy rustfmt - name: Cargo fmt (check) run: cargo fmt --all -- --check diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index de360b7..10a0dc4 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -49,7 +49,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Rust - uses: dtolnay/rust-toolchain@stable + run: rustup update stable && rustup default stable - name: Build documentation shell: bash @@ -86,7 +86,8 @@ jobs: uses: actions/checkout@v4 - name: Setup Rust - uses: dtolnay/rust-toolchain@stable + run: rustup update stable && rustup default stable + - name: Install cargo-readme run: cargo install cargo-readme @@ -115,7 +116,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Rust - uses: dtolnay/rust-toolchain@stable + run: rustup update stable && rustup default stable - name: Build documentation working-directory: crates/hyper-custom-cert diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e086dc5..b93ccd9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,9 +39,10 @@ jobs: uses: actions/checkout@v4 - name: Setup Rust - uses: dtolnay/rust-toolchain@stable - with: - components: clippy, rustfmt + run: rustup update stable && rustup default stable + + - name: Install clippy and rustfmt + run: rustup component add clippy rustfmt - name: Cargo fmt (check) run: cargo fmt --all -- --check @@ -76,7 +77,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Rust - uses: dtolnay/rust-toolchain@stable + run: rustup update stable && rustup default stable - name: Verify tag matches version run: |