chore(deps): bump databend-driver from 0.23.2 to 0.24.6 #317
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Check | |
on: | |
pull_request: | |
branches: | |
- master | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: 1.82.0 | |
profile: minimal | |
override: true | |
- name: Install protoc | |
run: | | |
PB_REL="https://github.com/protocolbuffers/protobuf/releases" | |
curl -LO $PB_REL/download/v25.1/protoc-25.1-linux-x86_64.zip | |
unzip protoc-25.1-linux-x86_64.zip -d foo | |
sudo mv foo/bin/protoc /usr/local/bin/protoc | |
- name: rust cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Install binstall | |
run: curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash | |
- name: Install checkers | |
run: cargo binstall -y cargo-sort | |
- name: run checkers | |
run: | | |
cargo sort -c -w | |
cargo fmt -- --check | |
cargo clippy -- -D warnings | |
cargo test |