diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 64a9f81c..8d0a48d9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,17 +16,11 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@stable name: Install rust toolchain - with: - toolchain: stable - override: true - uses: Swatinem/rust-cache@v2 name: Add caching - - uses: actions-rs/cargo@v1 - name: Build crate - with: - command: build - args: --verbose --all-features + - name: Build crate + run: cargo build --verbose --all-features diff --git a/.github/workflows/cargo-doc-check.yml b/.github/workflows/cargo-doc-check.yml index 5c1a81e5..13ee8455 100644 --- a/.github/workflows/cargo-doc-check.yml +++ b/.github/workflows/cargo-doc-check.yml @@ -16,17 +16,11 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@stable name: Install rust toolchain - with: - toolchain: stable - override: true - uses: Swatinem/rust-cache@v2 name: Add caching - - uses: actions-rs/cargo@v1 - name: Check Documentation with Rustdoc - with: - command: doc - args: --verbose --no-deps + - name: Check Documentation with Rustdoc + run: cargo doc --verbose --no-deps diff --git a/.github/workflows/clippy-lint.yml b/.github/workflows/clippy-lint.yml index 3fb6a9e1..ba53a3d6 100644 --- a/.github/workflows/clippy-lint.yml +++ b/.github/workflows/clippy-lint.yml @@ -8,18 +8,13 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@stable name: Install Rust Toolchain with: - toolchain: stable components: clippy - override: true - uses: Swatinem/rust-cache@v2 name: Add caching - - uses: actions-rs/clippy-check@v1 - name: Lint and Check codebase with Clippy - with: - token: ${{ secrets.GITHUB_TOKEN }} - args: --all-features --verbose + - name: Lint and Check codebase with Clippy + run: cargo clippy --all-features --verbose -- -D warnings diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d9eebf63..4bb982d4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,10 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - override: true + - uses: dtolnay/rust-toolchain@stable - uses: katyo/publish-crates@v2 with: registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}