Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
23 changes: 0 additions & 23 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,13 @@

[alias]

### INDIVIDUAL TEST AND LINT TASKS ###

# Build and run all code paths except docs
test-all = "make test-all-features"

# Build and run all docs tests
test-docs = "make test-docs"

# Build and run docs tests with default features
test-docs-defaults = "make test-docs-defaults"

# Check for formatting on all code
fmt-check = "make fmt-check"

# Run Clippy on all code paths
# Keep args in sync with `clippy` job in .github/workflows/build-test.yml
# unknown-clippy-lints: to allow us to work with nightly clippy lints that we don't CI
# field-reassign-with-default: https://github.com/rust-lang/rust-clippy/issues/6559 (fixed in nightly but not stable)
clippy-all = "clippy --all-features --all-targets -- -D warnings -Aclippy::field-reassign-with-default"

### META TASKS ###

# Run quick version of all lints and tests
quick = "make quick"

# Run all lints and tests
ci = "make ci"

tidy = "make tidy"

### WASM TASKS ###

# Re-build standard library with panic=abort.
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
- uses: actions/checkout@v2
- name: Load the default Rust toolchain via the rust-toolchain file.
run: rustup show
- name: Install cargo-make
uses: actions-rs/[email protected]
with:
crate: cargo-make
version: latest
- name: Check
uses: actions-rs/[email protected]
with:
Expand All @@ -46,6 +51,11 @@ jobs:
- uses: actions/checkout@v2
- name: Load the default Rust toolchain via the rust-toolchain file.
run: rustup show
- name: Install cargo-make
uses: actions-rs/[email protected]
with:
crate: cargo-make
version: latest
- name: Build
uses: actions-rs/[email protected]
with:
Expand All @@ -62,7 +72,6 @@ jobs:
features:
runs-on: ubuntu-latest
needs: [check]

steps:
- uses: actions/checkout@v2
- name: Load the default Rust toolchain via the rust-toolchain file.
Expand All @@ -72,6 +81,11 @@ jobs:
with:
command: install
args: cargo-all-features --version "^1.4"
- name: Install cargo-make
uses: actions-rs/[email protected]
with:
crate: cargo-make
version: latest
- name: Test Docs with Default Features
uses: actions-rs/[email protected]
with:
Expand Down