Skip to content

refactor: Split dozer-sql-expression #5612

refactor: Split dozer-sql-expression

refactor: Split dozer-sql-expression #5612

Workflow file for this run

name: Dozer CI
on:
workflow_dispatch:
pull_request:
branches: [main]
merge_group:
env:
CARGO_TERM_COLOR: always
concurrency:
group: ci/${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
timeout-minutes: 60
runs-on:
labels: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install minimal stable with clippy and rustfmt
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt, clippy
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: ⚡ Cache
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/.crates.toml
~/.cargo/.crates2.json
~/.cargo/.package-cache
~/.cargo/registry/
~/.cargo/git/db/
target/
key: clippy-${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
restore-keys: |
clippy-${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
clippy-${{ runner.os }}-cargo-
- name: Clippy
run: |
cargo clippy --workspace --all-features --all-targets -- -D warnings
- name: Lint
run: |
cargo fmt -- --check