Merge pull request #2324 from gitbutlerapp/add-test-attribute-and-allow-unused-imports

use more advanced filters to better cull unrelated files and clean up filters
This commit is contained in:
Qix 2024-01-19 17:51:20 +01:00 committed by GitHub
commit c262b0d9cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,33 +21,24 @@ jobs:
- 'gitbutler-ui/**'
- 'package.json'
- 'pnpm-lock.yaml'
rust:
- 'gitbutler-*/**'
- '!gitbutler-ui/**'
common-rust: &rust
- 'Cargo.lock'
- 'Cargo.toml'
- 'rust-toolchain.toml'
rust: &any-rust
- *rust
- 'gitbutler-!(ui)/**'
gitbutler-app:
- 'gitbutler-*/**'
- '!gitbutler-ui/**'
- 'Cargo.lock'
- 'Cargo.toml'
- 'rust-toolchain.toml'
- *any-rust
gitbutler-core:
- *rust
- 'gitbutler-core/**'
- 'Cargo.lock'
- 'Cargo.toml'
- 'rust-toolchain.toml'
gitbutler-git:
- *rust
- 'gitbutler-git/**'
- 'Cargo.lock'
- 'Cargo.toml'
- 'rust-toolchain.toml'
gitbutler-diff:
- *rust
- 'gitbutler-diff/**'
- 'Cargo.lock'
- 'Cargo.toml'
- 'rust-toolchain.toml'
lint-node:
needs: changes