refactor/tighten-architecture #26

Merged
GKaszewski merged 104 commits from refactor/tighten-architecture into master 2026-10-26 09:36:27 +00:00
2 changed files with 13 additions and 16 deletions
Showing only changes of commit be6a81ea67 - Show all commits

View File

@@ -22,15 +22,10 @@ jobs:
with: with:
components: rustfmt, clippy components: rustfmt, clippy
# Caches ~/.cargo registry/git and target/, keyed on toolchain + Cargo.lock;
# prunes workspace-crate artifacts so the cache holds only compiled deps.
- name: Cache cargo - name: Cache cargo
uses: actions/cache@v4 uses: Swatinem/rust-cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: fmt - name: fmt
run: cargo fmt --all -- --check run: cargo fmt --all -- --check
@@ -38,6 +33,7 @@ jobs:
- name: clippy - name: clippy
run: cargo clippy --workspace --all-targets -- -D warnings run: cargo clippy --workspace --all-targets -- -D warnings
# --workspace covers tui (it is outside default-members).
- name: test - name: test
run: cargo test --workspace run: cargo test --workspace

View File

@@ -22,15 +22,10 @@ jobs:
with: with:
components: rustfmt, clippy components: rustfmt, clippy
# Caches ~/.cargo registry/git and target/, keyed on toolchain + Cargo.lock;
# prunes workspace-crate artifacts so the cache holds only compiled deps.
- name: Cache cargo - name: Cache cargo
uses: actions/cache@v4 uses: Swatinem/rust-cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: fmt - name: fmt
run: cargo fmt --all -- --check run: cargo fmt --all -- --check
@@ -38,6 +33,7 @@ jobs:
- name: clippy - name: clippy
run: cargo clippy --workspace --all-targets -- -D warnings run: cargo clippy --workspace --all-targets -- -D warnings
# --workspace covers tui (it is outside default-members).
- name: test - name: test
run: cargo test --workspace run: cargo test --workspace
@@ -61,6 +57,9 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to GHCR - name: Log in to GHCR
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
@@ -87,3 +86,5 @@ jobs:
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
build-args: FEATURES=federation build-args: FEATURES=federation
cache-from: type=gha
cache-to: type=gha,mode=max