Skip to content

Update README.md

Update README.md #9

Workflow file for this run

name: Rust Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build_and_test:
name: Build and test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
default: true
profile: minimal
override: true
- name: Cache Cargo dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build with Cargo
run: cargo build --verbose
- name: Execute tests
run: cargo test --verbose