Skip to content

chore: Update rust.yml #7

chore: Update rust.yml

chore: Update rust.yml #7

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
steps:
- uses: actions/checkout@v3
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- name: Cache Target
id: cache-target
uses: actions/cache@v3
with:
path: target
key: ${{ runner.os }}-target
- name: Bench
run: cargo bench --verbose