Skip to content

add a ci script, just to test the project compiles, also for cargo fmt #2

add a ci script, just to test the project compiles, also for cargo fmt

add a ci script, just to test the project compiles, also for cargo fmt #2

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check-fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check formatting
run: cargo fmt -- --check
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cargo check
run: cargo check