Skip to content

Implement a demo app #15

Implement a demo app

Implement a demo app #15

Workflow file for this run

name: Rust
on:
push:
branches: ["main"]
pull_request:
jobs:
format:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: moonrepo/setup-rust@v1
with:
components: rustfmt
- name: Check formatting
run: cargo fmt --all --check
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: moonrepo/setup-rust@v1
with:
components: clippy
- name: Run linter
run: cargo clippy --all-features
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: moonrepo/setup-rust@v1
- name: Run tests
run: cargo test --all-features