mirror of
https://github.com/storytold/craft-libs.git
synced 2026-10-31 23:59:16 +00:00
craft-ai-core: rename from craft-ai-model; lapse each kind of consent on its own; keep models found at a new address
Consent expiry is now per kind of data: renewing text no longer renews an expired image permission. A connection edit keeps models found by a test at the new address, and drops only the ones saved for the old one.
This commit is contained in:
1 parent
cb7f55bae4
commit
bd175be54f
46 files changed
+127
-44
No files matched your search
@@ -4,15 +4,15 @@ on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [main]
|
||||
paths: ['crates/ai-model/**', 'Cargo.toml', 'Cargo.lock', '.github/workflows/ai-model.yml']
|
||||
paths: ['crates/ai-core/**', 'Cargo.toml', 'Cargo.lock', '.github/workflows/ai-core.yml']
|
||||
pull_request:
|
||||
paths: ['crates/ai-model/**', 'Cargo.toml', 'Cargo.lock', '.github/workflows/ai-model.yml']
|
||||
paths: ['crates/ai-core/**', 'Cargo.toml', 'Cargo.lock', '.github/workflows/ai-core.yml']
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
ai-model:
|
||||
ai-core:
|
||||
timeout-minutes: 15
|
||||
strategy:
|
||||
fail-fast: false
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
components: rustfmt, clippy
|
||||
targets: wasm32-unknown-unknown
|
||||
- run: cargo fmt --check
|
||||
- run: cargo clippy -p craft-ai-model --all-targets --locked -- -D warnings
|
||||
- run: cargo test -p craft-ai-model --locked
|
||||
- run: cargo clippy -p craft-ai-core --all-targets --locked -- -D warnings
|
||||
- run: cargo test -p craft-ai-core --locked
|
||||
# The model promises to compile for the web.
|
||||
- run: cargo check -p craft-ai-model --target wasm32-unknown-unknown --locked
|
||||
- run: cargo check -p craft-ai-core --target wasm32-unknown-unknown --locked
|
||||
Reference in new issue
Block a user