Skip to content

validate dependbot, update actions #168

validate dependbot, update actions

validate dependbot, update actions #168

Workflow file for this run

name: Rust
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache folders
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Check formatting, run clippy and test
run: cargo fmt --all -- --check && cargo clippy -- -D warnings && cargo test