Skip to content

Commit

Permalink
feat(workflow): Remove previous workflow commands which cause errors …
Browse files Browse the repository at this point in the history
…due to introduction of new features since these are now deprecated
  • Loading branch information
448-OG committed Dec 14, 2023
1 parent 83b3e66 commit f471d05
Showing 1 changed file with 15 additions and 26 deletions.
41 changes: 15 additions & 26 deletions .github/workflows/rust.yml
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Build
run: cargo build
- name: Build with all features
run: cargo build --all-features
run: cargo build --no-default-features --features chacha
- name: Run clippy for `chacha`
run: cargo clippy --all-targets --no-default-features --features full_with_chacha -- -D warnings
- name: Run clippy for `ascon`
Expand All @@ -34,20 +34,16 @@ jobs:
run: cargo build --no-default-features --features symm_asymm --verbose
- name: Run build with `full` feature enabled
run: cargo build --no-default-features --features full --verbose
- name: Run tests with all features
run: cargo test --all-features --verbose
- name: Run tests with `ascon` feature
run: cargo test --verbose
- name: Run tests with `chacha` feature
run: cargo test --no-default-features --features chacha --verbose

- name: Install cargo-deny
run: cargo install cargo-deny
- name: Check licenses are correct
run: cargo deny check licenses

- name: Run `simple.rs` example with no default features
run: cargo run --example simple --no-default-features --features "encryption ed25519 x25519 uuid"

- name: Run `simple.rs` example with features set to `full`
run: cargo run --example simple --no-default-features --features full

- name: Run `simple.rs` example with default features
run: cargo run --example simple

Expand All @@ -60,7 +56,7 @@ jobs:
- name: Build
run: cargo build
- name: Build with all features
run: cargo build --all-features
run: cargo build --no-default-features --features chacha
- name: Run build with `random` feature enabled
run: cargo build --no-default-features --features random --verbose
- name: Run build with `clonable_mem` feature enabled
Expand All @@ -71,20 +67,16 @@ jobs:
run: cargo build --no-default-features --features symm_asymm --verbose
- name: Run build with `full` feature enabled
run: cargo build --no-default-features --features full --verbose
- name: Run tests with all features
run: cargo test --all-features --verbose
- name: Run tests with `ascon` feature
run: cargo test --verbose
- name: Run tests with `chacha` feature
run: cargo test --no-default-features --features chacha --verbose

- name: Install cargo-deny
run: cargo install cargo-deny
- name: Check licenses are correct
run: cargo deny check licenses

- name: Run `simple.rs` example with no default features
run: cargo run --example simple --no-default-features --features "encryption ed25519 x25519 uuid"

- name: Run `simple.rs` example with features set to `full`
run: cargo run --example simple --no-default-features --features full

- name: Run `simple.rs` example with default features
run: cargo run --example simple

Expand All @@ -97,7 +89,7 @@ jobs:
- name: Build
run: cargo build
- name: Build with all features
run: cargo build --all-features
run: cargo build --no-default-features --features chacha
- name: Run build with `random` feature enabled
run: cargo build --no-default-features --features random --verbose
- name: Run build with `clonable_mem` feature enabled
Expand All @@ -108,19 +100,16 @@ jobs:
run: cargo build --no-default-features --features symm_asymm --verbose
- name: Run build with `full` feature enabled
run: cargo build --no-default-features --features full --verbose
- name: Run tests with all features
run: cargo test --all-features --verbose
- name: Run tests with `ascon` feature
run: cargo test --verbose
- name: Run tests with `chacha` feature
run: cargo test --no-default-features --features chacha --verbose

- name: Install cargo-deny
run: cargo install cargo-deny
- name: Check licenses are correct
run: cargo deny check licenses

- name: Run `simple.rs` example with no default features
run: cargo run --example simple --no-default-features --features "encryption ed25519 x25519 uuid"

- name: Run `simple.rs` example with features set to `full`
run: cargo run --example simple --no-default-features --features full

- name: Run `simple.rs` example with default features
run: cargo run --example simple

0 comments on commit f471d05

Please sign in to comment.