Skip to content

Merge pull request #3 from Zli-UoA/shinbunbun-patch-1 #7

Merge pull request #3 from Zli-UoA/shinbunbun-patch-1

Merge pull request #3 from Zli-UoA/shinbunbun-patch-1 #7

Workflow file for this run

name: Rust
on:
push:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache Cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
- name: ls
run: ls -la
- name: fmt
run: cargo fmt --check
- name: clippy
run: cargo clippy -- -D warnings
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose