Skip to content

add rules for clippy suggestions #37

add rules for clippy suggestions

add rules for clippy suggestions #37

Workflow file for this run

name: cargo
on:
push:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Prepare environment
run: |
sudo apt-get update
sudo apt-get install clang
sudo apt-get install libclang1
sudo apt-get install libeccodes-dev
rustup update stable
cargo install cargo-criterion
cargo clean
- name: Build with cargo
run: |
cargo build --release
cargo clean
- name: Test with cargo
run: |
cargo test
cargo clean
- name: Benchmark with criterion
run: |
cargo criterion
cargo clean