Skip to content

Commit

Permalink
chore(deps): Add deny.yaml and a cargo deny CI job to check dependenc…
Browse files Browse the repository at this point in the history
…ies for vulnerabilities

Signed-off-by: Joshua Potts <[email protected]>
  • Loading branch information
iamjpotts committed Jan 23, 2024
1 parent 5890afe commit 1ed24b5
Show file tree
Hide file tree
Showing 6 changed files with 136 additions and 81 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/sqlx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ on:
- '*-dev'

jobs:
deny:
name: Cargo Deny
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v1

format:
name: Format
runs-on: ubuntu-20.04
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ target/
# Integration testing extension library for SQLite.
ipaddr.dylib
ipaddr.so

# Temporary files from running the tests locally like they would be run from CI
.sqlx
133 changes: 55 additions & 78 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ sqlx-sqlite = { workspace = true, optional = true }
anyhow = "1.0.52"
time_ = { version = "0.3.2", package = "time" }
futures = "0.3.19"
env_logger = "0.9.0"
env_logger = "0.11"
async-std = { version = "1.12.0", features = ["attributes"] }
tokio = { version = "1.15.0", features = ["full"] }
dotenvy = "0.15.0"
Expand All @@ -175,7 +175,7 @@ rand = "0.8.4"
rand_xoshiro = "0.6.0"
hex = "0.4.3"
tempfile = "3.9.0"
criterion = {version = "0.4", features = ["async_tokio"]}
criterion = { version = "0.5", features = ["async_tokio"] }

# Needed to test SQLCipher
libsqlite3-sys = { version = "0.27", features = ["bundled-sqlcipher"] }
Expand Down
Loading

0 comments on commit 1ed24b5

Please sign in to comment.