Skip to content

feat: add gh CI

feat: add gh CI #1

Workflow file for this run

name: CI
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: fmt
run: cargo fmt --check --all
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: clippy
run: cargo clippy --all-targets
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: test
run: cargo test -- --nocapture --test-threads=1