Skip to content

Commit

Permalink
Update deps 20231015 (#58)
Browse files Browse the repository at this point in the history
* Update deps

* Move off of deprecated actions
  • Loading branch information
benbrandt authored Nov 15, 2023
1 parent 6a36041 commit 15a97e2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 22 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,7 @@ jobs:
- uses: Swatinem/rust-cache@v2

- run: cargo fmt -- --check
- uses: actions-rs/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --workspace --all-features --all-targets
- run: cargo clippy --workspace --all-features --all-targets

- uses: taiki-e/install-action@cargo-hack
- name: cargo hack
Expand Down
18 changes: 7 additions & 11 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
name: Security audit

on:
schedule:
- cron: "0 0 * * 0"

push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
jobs:
audit:
security_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/[email protected]
with:
crate: cargo-audit
version: latest
- uses: actions-rs/[email protected]
- uses: actions/checkout@v3
- uses: rustsec/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ rustdoc-args = ["--cfg", "docsrs"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
auto_enums = "0.8.2"
auto_enums = "0.8.3"
either = "1.9.0"
itertools = "0.11.0"
itertools = "0.12.0"
once_cell = "1.18.0"
regex = "1.9.3"
regex = "1.10.2"
tiktoken-rs = { version = ">=0.2.0, <0.6.0", optional = true }
tokenizers = { version = ">=0.13.3, <0.15.0", default_features = false, features = [
tokenizers = { version = ">=0.13.3, <0.16.0", default_features = false, features = [
"onig",
], optional = true }
unicode-segmentation = "1.10.1"

[dev-dependencies]
fake = "2.6.1"
insta = { version = "1.31.0", features = ["glob", "yaml"] }
tokenizers = { version = ">=0.13.3, <0.15.0", default-features = false, features = [
fake = "2.9.1"
insta = { version = "1.34.0", features = ["glob", "yaml"] }
tokenizers = { version = ">=0.13.3, <0.16.0", default-features = false, features = [
"onig",
"http",
] }
Expand Down

0 comments on commit 15a97e2

Please sign in to comment.