diff --git a/.cspell.json b/.cspell.json index 96c16f3..5410188 100644 --- a/.cspell.json +++ b/.cspell.json @@ -21,6 +21,7 @@ "@nitra/cspell-dict/cspell-ext.json" ], "words": [ + "appindicator", "autobins", "cdylib", "chrono", @@ -35,6 +36,10 @@ "journaling", "keypair", "kfse", + "libayatana", + "librsvg", + "libwebkit", + "libxdo", "lipo", "mgmt", "microlesson", diff --git a/.github/workflows/lint-repo.yml b/.github/workflows/lint-repo.yml index 16122d9..c1a425e 100644 --- a/.github/workflows/lint-repo.yml +++ b/.github/workflows/lint-repo.yml @@ -27,5 +27,19 @@ jobs: - uses: ./.github/actions/setup-bun-deps + - uses: dtolnay/rust-toolchain@stable + with: + components: rustfmt, clippy + + - uses: Swatinem/rust-cache@v2 + + # Системні залежності Tauri v2 на Linux (glib/gtk/webkit) — без них + # clippy у rust/check не збере src-tauri (як у lint-rust.yml). + - name: Install Tauri system deps + run: >- + sudo apt-get update && sudo apt-get install -y libwebkit2gtk-4.1-dev + libgtk-3-dev librsvg2-dev libxdo-dev libssl-dev + libayatana-appindicator3-dev + - name: Repo-wide lint run: bunx n-rules lint --repo-wide --no-fix diff --git a/.github/workflows/lint-style.yml b/.github/workflows/lint-style.yml index 7aa02b3..b15abae 100644 --- a/.github/workflows/lint-style.yml +++ b/.github/workflows/lint-style.yml @@ -35,10 +35,5 @@ jobs: - uses: ./.github/actions/setup-bun-deps - - name: StyleLint - run: npx stylelint '**/*.{css,scss,vue}' --fix - - uses: actions/checkout@v6 - with: - persist-credentials: false - name: StyleLint run: bunx n-rules lint style --no-fix