Skip to content

Update Rust crate built to v0.7.4 (#50) #177

Update Rust crate built to v0.7.4 (#50)

Update Rust crate built to v0.7.4 (#50) #177

Workflow file for this run

name: Rust
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
toolchain: [stable, nightly]
steps:
- uses: actions/checkout@v4
with:
lfs: true
- uses: swatinem/rust-cache@v2
- name: fetch Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- name: toolchain version
run: cargo -vV
- name: install deps
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: liblapack3
version: 1.0
- uses: giraffate/clippy-action@v1
with:
reporter: 'github-pr-review'
github_token: ${{ secrets.GITHUB_TOKEN }}
clippy_flags: -- -Dwarnings
- name: build
run: cargo build --all --verbose
- name: test
run: cargo test --all --verbose