Skip to content

add local running

add local running #24

Workflow file for this run

name: Pre-Checks
on:
pull_request:
branches:
- main
paths-ignore:
- 'README.md'
- 'LICENSE.md'
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: run test
run: cargo test --verbose
check-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install rustfmt
run: rustup component add rustfmt
- name: run rustfmt check
run: cargo fmt -- --check