mirror of
https://github.com/seemueller-io/hyper-custom-cert.git
synced 2025-09-08 22:46:45 +00:00
Update Rust setup and install clippy and rustfmt
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
7
.github/workflows/docs.yml
vendored
7
.github/workflows/docs.yml
vendored
@@ -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
|
||||
|
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@@ -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: |
|
||||
|
Reference in New Issue
Block a user