Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Pipeline #2

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
16 changes: 11 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#CICD
name: Cargo-audit, lint and test

on:
push:
branches: master
branches:
- master
- dev
pull_request:
branches: master

Expand All @@ -13,8 +16,8 @@ defaults:

env:
CARGO_TERM_COLOR: always
RUST_TOOLCHAIN: nightly-2022-04-25

RUST_TOOLCHAIN: nightly-2023-08-23 #2022-04-25
jobs:
cargo-audit:
name: cargo audit
Expand All @@ -31,7 +34,9 @@ jobs:
version: latest

- name: Run cargo-audit # Using args from .cargo/audit.toml
run: cargo audit
# run: cargo audit
run: cargo test --all-features --workspace


lint-test:
name: lint & test
Expand All @@ -58,4 +63,5 @@ jobs:
- name: Cargo fmt
run: cargo fmt -- --check
- name: Cargo clippy
run: cargo clippy --all-targets -- --deny=warnings
# run: cargo clippy --all-targets -- --deny=warnings
run: cargo clippy --all-targets --all-features -- -D warnings