mirror of
https://github.com/Xevion/dynamic-preauth.git
synced 2025-12-18 08:11:47 -06:00
refactor: convert to Cargo workspace structure
This commit is contained in:
18
.github/workflows/quality.yaml
vendored
18
.github/workflows/quality.yaml
vendored
@@ -18,10 +18,7 @@ jobs:
|
||||
components: rustfmt
|
||||
|
||||
- name: Check formatting
|
||||
run: cargo fmt -- --check
|
||||
|
||||
- name: Check demo formatting
|
||||
run: cargo fmt --manifest-path demo/Cargo.toml -- --check
|
||||
run: cargo fmt --all -- --check
|
||||
|
||||
clippy:
|
||||
name: Clippy
|
||||
@@ -37,10 +34,7 @@ jobs:
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
|
||||
- name: Run clippy
|
||||
run: cargo clippy --all-targets --all-features -- -D warnings
|
||||
|
||||
- name: Run clippy on demo
|
||||
run: cargo clippy --manifest-path demo/Cargo.toml --all-targets --all-features -- -D warnings
|
||||
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
|
||||
|
||||
audit:
|
||||
name: Audit
|
||||
@@ -53,9 +47,6 @@ jobs:
|
||||
- name: Run audit
|
||||
run: cargo audit
|
||||
|
||||
- name: Run audit on demo
|
||||
run: cargo audit --file demo/Cargo.lock
|
||||
|
||||
check:
|
||||
name: Check
|
||||
runs-on: ubuntu-latest
|
||||
@@ -68,10 +59,7 @@ jobs:
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
|
||||
- name: Run check
|
||||
run: cargo check --all-targets --all-features
|
||||
|
||||
- name: Run check on demo
|
||||
run: cargo check --manifest-path demo/Cargo.toml --all-targets --all-features
|
||||
run: cargo check --workspace --all-targets --all-features
|
||||
|
||||
frontend:
|
||||
name: Frontend
|
||||
|
||||
Reference in New Issue
Block a user