diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6ef673..2ad657d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,11 +13,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - profile: minimal - override: true + uses: dtolnay/rust-toolchain@stable - uses: actions-rs/cargo@v1 with: command: test @@ -30,11 +26,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - profile: minimal - override: true + uses: dtolnay/rust-toolchain@stable - name: Install cargo-hack uses: taiki-e/install-action@cargo-hack - name: test @@ -46,11 +38,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - profile: minimal - override: true + uses: dtolnay/rust-toolchain@stable - name: Install cargo-hack uses: taiki-e/install-action@cargo-hack - name: test @@ -62,11 +50,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - profile: minimal - override: true + uses: dtolnay/rust-toolchain@stable - name: Install cargo-hack uses: taiki-e/install-action@cargo-hack # Old opentelemetry features group to improve performance @@ -80,12 +64,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - profile: minimal - override: true - components: rustfmt + uses: dtolnay/rust-toolchain@stable - name: Check formatting uses: actions-rs/cargo@v1 with: @@ -99,12 +78,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - profile: minimal - override: true - components: clippy + uses: dtolnay/rust-toolchain@stable - name: Clippy check uses: actions-rs/cargo@v1 with: @@ -119,12 +93,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - profile: minimal - override: true - components: clippy + uses: dtolnay/rust-toolchain@stable - name: Install cargo-hack uses: taiki-e/install-action@cargo-hack - name: test @@ -146,11 +115,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - profile: minimal - override: true + uses: dtolnay/rust-toolchain@stable - name: Check documentation env: RUSTDOCFLAGS: -D warnings @@ -165,11 +130,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - profile: minimal - override: true + - name: Install Rust + uses: dtolnay/rust-toolchain@stable - uses: actions-rs/cargo@v1 with: command: publish