Skip to content

Commit

Permalink
Update dependencies and add msrv check
Browse files Browse the repository at this point in the history
  • Loading branch information
Fethbita committed Oct 6, 2024
1 parent 013ad06 commit ff75f95
Show file tree
Hide file tree
Showing 4 changed files with 114 additions and 140 deletions.
File renamed without changes.
9 changes: 6 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
apk add --no-cache pcsc-lite-dev # For pcsc dependency
apk add --no-cache musl-dev # For tracing-attributes dependency (needs crti.o)
apk add --no-cache pkgconf openssl-dev gcc make perl-dev # For openssl dependency (see https://github.com/Fethbita/emrtd/pull/3, https://github.com/rust-lang/docker-rust/issues/167)
cargo install --version 0.20.1 cargo-audit # For audit step
cargo install --version 0.15.1 cargo-msrv # For latest supported rust version
- name: Build
run: cargo build --all-features --verbose
Expand All @@ -32,9 +34,10 @@ jobs:
run: cargo test --all-features --verbose

- name: Audit
run: |
cargo install --version 0.20.1 cargo-audit
cargo audit
run: cargo audit

- name: Check rust version in Cargo.toml
run: cargo msrv verify -- cargo check --all-features --tests

- name: Lint
run: cargo clippy -- -D warnings
Expand Down
Loading

0 comments on commit ff75f95

Please sign in to comment.