mirror of
https://github.com/sol1/rustguac.git
synced 2026-09-11 13:50:14 +00:00
07ebb33702
- Onboarding wizard for new users (was missing from v0.8.1-v0.9.0) - Settings menu label visibility improvement - EnvironmentFile=-/opt/rustguac/env in systemd service - russh 0.57→0.58.1 (drops vulnerable libcrux-sha3) - aws-lc-sys 0.38→0.39 (RUSTSEC-2026-0044, 0048) - rustls-webpki 0.103.9→0.103.10 (RUSTSEC-2026-0049) - Removed RUSTSEC-2026-0074 ignore (no longer needed)
56 lines
1.6 KiB
YAML
56 lines
1.6 KiB
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
jobs:
|
|
check:
|
|
name: Build & Lint
|
|
runs-on: ubuntu-latest
|
|
container: debian:trixie-slim
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Install system dependencies
|
|
run: |
|
|
apt-get update
|
|
apt-get install -y --no-install-recommends \
|
|
curl ca-certificates gcc g++ pkg-config make \
|
|
libcairo2-dev libjpeg-dev libpng-dev libwebp-dev \
|
|
libssh2-1-dev libssl-dev libvncserver-dev \
|
|
libpango1.0-dev libpulse-dev \
|
|
libavcodec-dev libavformat-dev libavutil-dev libswscale-dev \
|
|
libtelnet-dev libwebsockets-dev uuid-dev freerdp3-dev
|
|
|
|
- name: Install Rust toolchain
|
|
run: |
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
|
|
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
|
|
|
- name: Cache cargo registry & target
|
|
uses: actions/cache@v5
|
|
with:
|
|
path: |
|
|
~/.cargo/registry
|
|
~/.cargo/git
|
|
target
|
|
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
|
|
restore-keys: ${{ runner.os }}-cargo-
|
|
|
|
- name: Check formatting
|
|
run: $HOME/.cargo/bin/cargo fmt --check
|
|
|
|
- name: Clippy
|
|
run: $HOME/.cargo/bin/cargo clippy -- -D warnings
|
|
|
|
- name: Build
|
|
run: $HOME/.cargo/bin/cargo build --release
|
|
|
|
- name: Security audit
|
|
run: |
|
|
$HOME/.cargo/bin/cargo install cargo-audit
|
|
$HOME/.cargo/bin/cargo audit --ignore RUSTSEC-2023-0071
|