2022-07-10 15:27:31 +00:00

29 lines
604 B
YAML

on:
- push
jobs:
check:
name: Rust project
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Install latest stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: tests --workspace