diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7748309..186cc8a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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 @@ -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: @@ -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 @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 00b6212..48933be 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"