Skip to content

Commit

Permalink
chore: Upgrade dependencies and CI workflows (#23)
Browse files Browse the repository at this point in the history
Signed-off-by: tison <[email protected]>
  • Loading branch information
tisonkun authored Nov 16, 2024
1 parent 944ea58 commit 991be59
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,28 +38,28 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: korandoru/hawkeye@v5
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt,clippy
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@v2
with:
tool: typos-cli,taplo-cli
- name: Check Format
run: cargo fmt --all
- name: Check Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Check Toml
run: taplo format --check
- name: Check Typos
run: typos
tool: typos-cli,taplo-cli,hawkeye
- name: Check all
run: |
hawkeye check
taplo format --check
typos
cargo +nightly fmt --all
cargo +nightly clippy --all-targets --all-features -- -D warnings
test:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
rust-version:
- "1.75.0"
- stable
rust-version: [ "1.75.0", "stable" ]
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
Expand Down
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

[package]
name = "cronexpr"
version = "1.1.1"

description = "A library to parse and drive the crontab expression."
edition = "2021"
Expand All @@ -22,16 +23,15 @@ license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/tisonkun/cronexpr"
rust-version = "1.75.0"
version = "1.1.0"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
jiff = { version = "0.1.13" }
thiserror = { version = "1.0" }
winnow = { version = "0.6.18" }
jiff = { version = "0.1.14" }
thiserror = { version = "2.0" }
winnow = { version = "0.6" }

[dev-dependencies]
insta = { version = "1.40", features = ["filters"] }
insta = { version = "1.41", features = ["filters"] }

0 comments on commit 991be59

Please sign in to comment.