forked from MariaDB/server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ jobs: | |
with: | ||
components: clippy | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo clippy --manifest-path rust/Cargo.toml -- -D warnings | ||
- run: cargo clippy -- -D warnings | ||
|
||
test: | ||
strategy: | ||
|
@@ -50,7 +50,7 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: dtolnay/rust-toolchain@nightly | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo test --manifest-path rust/Cargo.toml | ||
- run: cargo test | ||
|
||
mtr: | ||
name: Run mtr integration tests | ||
|
@@ -121,7 +121,7 @@ jobs: | |
with: | ||
components: rustfmt | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo fmt --manifest-path rust/Cargo.toml --all -- --check | ||
- run: cargo fmt --all -- --check | ||
|
||
audit: | ||
name: Audit dependencies for security & license compatibility | ||
|
@@ -134,8 +134,6 @@ jobs: | |
run: cd rust/ && cargo audit | ||
- name: Audit dependency licenses with cargo-deny | ||
uses: EmbarkStudios/cargo-deny-action@v1 | ||
with: | ||
arguments: --manifest-path rust/Cargo.toml | ||
|
||
# uses: rustsec/[email protected] | ||
# with: | ||
|
@@ -151,7 +149,7 @@ jobs: | |
- uses: Swatinem/rust-cache@v2 | ||
# test docs for everything | ||
- name: Test build all docs | ||
run: cargo doc --manifest-path rust/Cargo.toml --no-deps | ||
run: cargo doc --no-deps | ||
# create docs for the crate we care about | ||
- name: Build docs for publish | ||
run: | | ||
|