Skip to content

Merge pull request #2 from tsengia/add-formatter #12

Merge pull request #2 from tsengia/add-formatter

Merge pull request #2 from tsengia/add-formatter #12

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
env:
RUSTFLAGS: "-Dwarnings"
steps:
- uses: actions/checkout@v3
- name: Format Check
run: cargo fmt --check
- name: Linter Check
run: cargo clippy --no-deps
- name: Build
run: cargo build --verbose