Skip to content

Change return type and moved clean spaces #18

Change return type and moved clean spaces

Change return type and moved clean spaces #18

name: Rust
on:
push:
branches:
- main
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Cache dependencies
id: cache-dependencies
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: davidB/rust-cargo-make@v1
with:
version: '0.23.0'
- name: Run checks
run: cargo make format-check
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test