Skip to content

deps: bump the minor-and-patch group across 1 directory with 6 updates #39

deps: bump the minor-and-patch group across 1 directory with 6 updates

deps: bump the minor-and-patch group across 1 directory with 6 updates #39

Workflow file for this run

name: Rust CI
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
env:
CARGO_TERM_COLOR: always
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget \
libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev \
libxdo-dev
- name: Check formatting
run: cargo fmt --all -- --check
- name: Run clippy
run: cargo clippy --lib --features gui -- -D warnings
- name: Build library
run: cargo build --lib --release
- name: Build CLI
run: cargo build --bin vult --features cli --release
- name: Build GUI
run: cargo build --bin vult-gui --features gui --release
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget \
libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev \
libxdo-dev
- name: Run library tests
run: cargo test --lib
- name: Run integration tests
run: cargo test --test integration_test
deny:
name: Dependency Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install cargo-deny
run: cargo install cargo-deny
- name: Run cargo-deny
run: cargo deny check
continue-on-error: true # Don't fail initially, just warn
windows:
name: Windows Build
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Build library
run: cargo build --lib --release
- name: Build CLI
run: cargo build --bin vult --features cli --release
- name: Run library tests
run: cargo test --lib