Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 9 additions & 14 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Rust

on:
push:
branches: [ "main" ]
branches: [ "main", "v0.2" ]
paths-ignore:
- "docs/**"
- ".github/workflows/website.yml"
Expand Down Expand Up @@ -37,13 +37,15 @@ jobs:
run: cargo test --verbose
- name: Run Clippy
run: cargo clippy -- -D warnings
- name: debug with ssh tunnel
if: ${{ failure() }}
uses: wa5i/ssh-to-actions@main
- name: Install tarpaulin
run: cargo install cargo-tarpaulin
- name: Generate coverage report
run: CARGO_BIN_NAME=rvault cargo tarpaulin --out Lcov
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
SSH_PASSWORD: ${{ secrets.SSH_PASSWORD }}
NPS_SERVER: ${{ secrets.NPS_SERVER }}
NPS_VKEY: ${{ secrets.NPS_VKEY }}
token: ${{ secrets.CODECOV_TOKEN }}
slug: wa5i/RustyVault

unix-tongsuo-test:
strategy:
Expand Down Expand Up @@ -72,13 +74,6 @@ jobs:
run : |
export LD_LIBRARY_PATH=${RUNNER_TEMP}/tongsuo/lib
OPENSSL_DIR=${RUNNER_TEMP}/tongsuo RUSTFLAGS="-C link-args=-Wl,-rpath,${RUNNER_TEMP}/tongsuo/lib" cargo test --verbose --features crypto_adaptor_tongsuo --no-default-features
- name: debug with ssh tunnel
if: ${{ failure() }}
uses: wa5i/ssh-to-actions@main
with:
SSH_PASSWORD: ${{ secrets.SSH_PASSWORD }}
NPS_SERVER: ${{ secrets.NPS_SERVER }}
NPS_VKEY: ${{ secrets.NPS_VKEY }}

unix-mysql-test:
strategy:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ clap = { version = "4.5", features = ["wrap_help", "derive", "env", "suggestions
sysexits = { version = "0.7", features = ["std"] }
build-time = "0.1"
hcl-rs = "0.18"
actix-web = { version = "4.4", features = ["openssl"] }
actix-web = { version = "4.9", features = ["openssl"] }
actix-tls = "3.1"
actix-rt = "2.9"
log = "0.4"
Expand Down
Loading