Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ on:

env:
CARGO_TERM_COLOR: always
# sccache
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"

jobs:
test:
Expand All @@ -39,6 +42,7 @@ jobs:
uses: actions/checkout@v5
with:
submodules: recursive

- name: Scan code with Trivy
uses: aquasecurity/trivy-action@0.33.1
env:
Expand All @@ -51,25 +55,31 @@ jobs:
ignore-unfixed: true
severity: "CRITICAL,HIGH,MEDIUM"
scanners: "vuln"
- name: Cache
uses: Swatinem/rust-cache@v2

- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.9

- name: Install required packages
run: |
apt-get update
apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev patchelf libssl-dev libxdo-dev unzip protobuf-compiler

- name: Check format
run: |
rustup component add rustfmt
cargo fmt -- --check

- name: Run clippy linter
run: |
mkdir ../dist
rustup component add clippy
cargo clippy --all-targets --all-features -- -D warnings

- name: Run cargo deny
working-directory: ./src-tauri
run: |
cargo install cargo-deny --version 0.18.6
cargo deny check

- name: Run tests
run: cargo test --locked --no-fail-fast
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
"$schema": "https://biomejs.dev/schemas/2.3.13/schema.json",
"vcs": {
"enabled": false,
"clientKind": "git",
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "defguard-client",
"private": false,
"version": "1.6.4",
"version": "1.6.5",
"type": "module",
"scripts": {
"dev": "npm-run-all --parallel vite typesafe-i18n",
Expand Down Expand Up @@ -56,7 +56,7 @@
"@react-hook/resize-observer": "^2.0.2",
"@stablelib/base64": "^2.0.1",
"@stablelib/x25519": "^2.0.1",
"@tanstack/query-core": "^5.90.17",
"@tanstack/query-core": "^5.90.20",
"@tanstack/react-virtual": "3.13.13",
"@tauri-apps/api": "^2.9.1",
"@tauri-apps/plugin-clipboard-manager": "^2.3.2",
Expand All @@ -82,13 +82,13 @@
"fast-deep-equal": "^3.1.3",
"file-saver": "^2.0.5",
"get-text-width": "^1.0.3",
"html-react-parser": "^5.2.11",
"html-react-parser": "^5.2.12",
"itertools": "^2.5.0",
"js-base64": "^3.7.8",
"lodash-es": "^4.17.22",
"lodash-es": "^4.17.23",
"merge-refs": "^2.0.0",
"millify": "^6.1.0",
"motion": "^12.26.2",
"motion": "^12.29.2",
"p-timeout": "^6.1.4",
"prop-types": "^15.8.1",
"radash": "^12.1.1",
Expand All @@ -104,31 +104,31 @@
"react-router-dom": "^6.30.3",
"react-use-websocket": "^4.13.0",
"react-virtualized-auto-sizer": "^1.0.26",
"recharts": "^3.6.0",
"recharts": "^3.7.0",
"rehype-sanitize": "^6.0.0",
"rxjs": "^7.8.2",
"use-breakpoint": "^4.0.10",
"zod": "^3.25.76",
"zustand": "^5.0.10"
},
"devDependencies": {
"@biomejs/biome": "^2.3.11",
"@biomejs/biome": "^2.3.13",
"@hookform/devtools": "^4.4.0",
"@svgr/cli": "^8.1.0",
"@tanstack/react-query": "^5.90.17",
"@tanstack/react-query": "^5.90.20",
"@tanstack/react-query-devtools": "^5.91.2",
"@tauri-apps/cli": "^2.9.6",
"@types/file-saver": "^2.0.7",
"@types/lodash-es": "^4.17.12",
"@types/node": "^24.10.9",
"@types/react": "^19.2.8",
"@types/react": "^19.2.9",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.2",
"@vitejs/plugin-react-swc": "^4.2.2",
"autoprefixer": "^10.4.23",
"npm-run-all": "^4.1.5",
"postcss": "^8.5.6",
"prettier": "^3.8.0",
"prettier": "^3.8.1",
"sass": "~1.92.1",
"typedoc": "^0.28.16",
"typesafe-i18n": "^5.26.2",
Expand Down
Loading
Loading