Skip to content

Commit

Permalink
update typed-builder and improve ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ayrat555 committed Sep 18, 2023
1 parent b08864e commit ccaeb24
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Test and Build Rust
on:
push:
pull_request:
types: [opened, reopened]
schedule:
# Check if it works with current dependencies
- cron: "32 2 * * 3" # weekly on Wednesday 2:32 UTC
Expand All @@ -17,7 +18,7 @@ jobs:
rm ~/.cargo/bin/{rustfmt,cargo-fmt}
rustup toolchain install stable --profile minimal --component rustfmt
rustup default stable
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: cargo fmt --check --verbose

test:
Expand Down Expand Up @@ -56,7 +57,7 @@ jobs:
rustup toolchain install ${{ matrix.toolchain }} --profile minimal --component clippy
rustup default ${{ matrix.toolchain }}
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Fetch dependencies
uses: actions-rs/cargo@v1
Expand Down Expand Up @@ -116,7 +117,7 @@ jobs:
rustup toolchain install stable --profile minimal --target ${{ matrix.triple }}
rustup default stable
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Fetch dependencies
run: cargo fetch --verbose
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async-telegram-trait = ["async-trait"]

[dependencies]
thiserror = "1"
typed-builder = "0.15"
typed-builder = "0.16"

[dependencies.async-trait]
version = "0.1"
Expand Down

0 comments on commit ccaeb24

Please sign in to comment.