Skip to content

add ci.yaml workflow #1

add ci.yaml workflow

add ci.yaml workflow #1

Workflow file for this run

name: CI
on:
push:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
checker:
name: Cargo clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: r7kamura/[email protected]
- name: clippy
run: cargo clippy --all --all-targets
- name: fmt
run: cargo fmt --all -- --check
- name: build
run: cargo build --verbose