Skip to content

Port argument parsing from structopt (clap 2) to clap 4 #346

Port argument parsing from structopt (clap 2) to clap 4

Port argument parsing from structopt (clap 2) to clap 4 #346

Workflow file for this run

name: Rust
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get install libsodium-dev libsqlite3-dev libzstd-dev
- name: Build
run: cargo build --verbose --locked
- name: Run tests
run: cargo test --verbose
- name: Run integration tests
run: cd tests; cargo run -- --cookie test
clippy:
name: clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get install libsodium-dev libsqlite3-dev libzstd-dev
- name: Run clippy
#run: cargo clippy --all --lib --tests -- --deny warnings
run: cargo clippy --all --lib --tests