This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
Adds SeedStringService. #102
Workflow file for this run
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
continuous_integration: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v4 | |
- name: Update local toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
components: clippy,rustfmt | |
- name: Rust cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update; | |
sudo apt-get install -y \ | |
libasound2-dev \ | |
portaudio19-dev \ | |
build-essential \ | |
libpulse-dev \ | |
libdbus-1-dev \ | |
libudev-dev \ | |
; | |
- name: Toolchain info | |
run: | | |
cargo --version --verbose; | |
rustc --version; | |
cargo clippy --version; | |
- name: Lint | |
run: | | |
cargo fmt -- --check; | |
cargo clippy -- -D warnings; | |
- name: Test | |
run: | | |
cargo check; | |
cargo test --all; | |
- name: Build | |
run: | | |
cargo build --release; |