deps: update dependencies #142
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: [push, pull_request] | |
env: | |
DATABASE_URL: "sqlite://verify.db" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: hecrj/setup-rust-action@master | |
with: | |
rust-version: stable | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install -y libsquashfs-dev libssl-dev pkg-config libsystemd-dev liblzma-dev libdbus-1-dev libzstd-dev libzmq3-dev | |
- uses: actions/checkout@v3 | |
- name: Prepare database | |
run: ./.ci/prepare.sh | |
- name: Build | |
run: cargo build --verbose | |
- name: Test | |
run: cargo test |