Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 3 additions & 9 deletions .github/workflows/cargo-doc-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
11 changes: 3 additions & 8 deletions .github/workflows/clippy-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 1 addition & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
Loading