Skip to content

trim token

trim token #20

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y pkg-config
- name: cargo fmt
run: cargo fmt --all -- --check
- name: cargo clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: cargo test
run: cargo test --all-targets
- name: cargo build --release
run: cargo build --release
- name: Build Debian package
run: scripts/build-deb.sh