Skip to content

fix syntax errors

fix syntax errors #15

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
check:
name: Rust project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: clippy, rustfmt
- name: Run clippy
uses: actions-rs/cargo@v1
with:
command: clippy
- name: Run fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check