You've already forked heapless-bytes
mirror of
https://github.com/trussed-dev/heapless-bytes.git
synced 2026-03-11 16:31:06 -07:00
26 lines
459 B
YAML
26 lines
459 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
|
|
- name: Check code
|
|
run: cargo check
|
|
- name: Run tests
|
|
run: cargo test
|
|
- name: Run rustfmt
|
|
run: cargo fmt -- --check
|
|
- name: Run clippy
|
|
run: cargo clippy -- --deny warnings
|
|
- name: Check documentation
|
|
run: RUSTDOCFLAGS="-D warnings" cargo doc --no-deps
|