Skip to content

Commit 1ed24b5

Browse files
committed
chore(deps): Add deny.yaml and a cargo deny CI job to check dependencies for vulnerabilities
Signed-off-by: Joshua Potts <[email protected]>
1 parent 5890afe commit 1ed24b5

File tree

6 files changed

+136
-81
lines changed

6 files changed

+136
-81
lines changed

.github/workflows/sqlx.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ on:
88
- '*-dev'
99

1010
jobs:
11+
deny:
12+
name: Cargo Deny
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: EmbarkStudios/cargo-deny-action@v1
17+
1118
format:
1219
name: Format
1320
runs-on: ubuntu-20.04

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ target/
1717
# Integration testing extension library for SQLite.
1818
ipaddr.dylib
1919
ipaddr.so
20+
21+
# Temporary files from running the tests locally like they would be run from CI
22+
.sqlx

Cargo.lock

Lines changed: 55 additions & 78 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ sqlx-sqlite = { workspace = true, optional = true }
161161
anyhow = "1.0.52"
162162
time_ = { version = "0.3.2", package = "time" }
163163
futures = "0.3.19"
164-
env_logger = "0.9.0"
164+
env_logger = "0.11"
165165
async-std = { version = "1.12.0", features = ["attributes"] }
166166
tokio = { version = "1.15.0", features = ["full"] }
167167
dotenvy = "0.15.0"
@@ -175,7 +175,7 @@ rand = "0.8.4"
175175
rand_xoshiro = "0.6.0"
176176
hex = "0.4.3"
177177
tempfile = "3.9.0"
178-
criterion = {version = "0.4", features = ["async_tokio"]}
178+
criterion = { version = "0.5", features = ["async_tokio"] }
179179

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

0 commit comments

Comments
 (0)