[Rust] make s3 proxy prefix configurable #762
Workflow file for this run
This file contains hidden or 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
# SPDX-FileCopyrightText: 2023 LakeSoul Contributors | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
on: | |
push: | |
paths: | |
- "rust/**" | |
branches: | |
- 'main' | |
pull_request: | |
paths: | |
- "rust/**" | |
branches: | |
- 'main' | |
- 'release/**' | |
workflow_dispatch: | |
name: Rust Clippy Check | |
# Make sure CI fails on all warnings, including Clippy lints | |
env: | |
RUSTFLAGS: "-Dwarnings" | |
jobs: | |
clippy_check: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: 1.87 | |
components: clippy,rustfmt | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v2 | |
with: | |
version: "23.x" | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: "./ -> target" | |
key: "ubuntu-24.04-clippy" | |
- name: Run Format | |
run: cargo fmt --all --check | |
- name: Run Clippy | |
run: cargo clippy --no-deps --all-features -p lakesoul-io-c -p lakesoul-metadata-c -p lakesoul-python -p lakesoul-io | |