ci: scope professionalization clippy checks
This commit is contained in:
@@ -5,14 +5,16 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- 'adk-rust/**'
|
- 'adk-rust/crates/detmir-core/**'
|
||||||
- 'scripts/**'
|
- 'adk-rust/crates/detmir-portal/**'
|
||||||
|
- 'scripts/check_private_config_guard.sh'
|
||||||
|
- 'scripts/check_portal_contract_sync.mjs'
|
||||||
- '.github/workflows/rust-professionalization-check.yml'
|
- '.github/workflows/rust-professionalization-check.yml'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
rust-check:
|
rust-check:
|
||||||
name: cargo fmt, tests and clippy
|
name: changed Rust crates smoke
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 40
|
timeout-minutes: 40
|
||||||
|
|
||||||
@@ -39,9 +41,13 @@ jobs:
|
|||||||
working-directory: adk-rust
|
working-directory: adk-rust
|
||||||
run: cargo test -p detmir-portal
|
run: cargo test -p detmir-portal
|
||||||
|
|
||||||
- name: Clippy changed Rust workspace
|
- name: Clippy detmir-core
|
||||||
working-directory: adk-rust
|
working-directory: adk-rust
|
||||||
run: cargo clippy --workspace --all-targets -- -D warnings
|
run: cargo clippy -p detmir-core --all-targets -- -D warnings
|
||||||
|
|
||||||
|
- name: Clippy detmir-portal
|
||||||
|
working-directory: adk-rust
|
||||||
|
run: cargo clippy -p detmir-portal --all-targets -- -D warnings
|
||||||
|
|
||||||
- name: Private config guard
|
- name: Private config guard
|
||||||
run: bash scripts/check_private_config_guard.sh
|
run: bash scripts/check_private_config_guard.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user