Skip to content

🚧 Add some system components. #74

🚧 Add some system components.

🚧 Add some system components. #74

Workflow file for this run

---
name: Run Tests
on: [push, pull_request]
jobs:
rustfmt:
name: Check Formatting
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v3
- name: Setup Rust
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt, clippy
- name: Restore Rust Cache
uses: Swatinem/rust-cache@v2
- name: Run cargo fmt -- --check
run: cargo +nightly fmt --all -- --check --unstable-features
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v3
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Restore Rust Cache
uses: Swatinem/rust-cache@v2
- name: Run cargo clippy
run: cargo clippy --all --all-features
env:
RUSTFLAGS: "--cfg releasing"
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v3
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Restore Rust Cache
uses: Swatinem/rust-cache@v2
- name: Run cargo test
run: cargo test --all-features --all
env:
RUSTFLAGS: "--cfg releasing"