Add moving average #40
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: Test | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Packages | |
run: | | |
sudo apt update | |
sudo apt install libsodium-dev | |
- name: Install Rust | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
toolchain: stable | |
components: clippy | |
- name: Setup cargo-audit | |
run: cargo install --force cargo-audit | |
- name: Generate Lockfile | |
run: cargo generate-lockfile | |
- name: Audit | |
run: cargo audit | |
- name: Clippy | |
run: cargo clippy --all-targets --all-features -- -D warnings | |
- name: Test | |
run: cargo test --release |