Skip to content

Update README.md

Update README.md #57

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
SKIP_WASM_BUILD: 1
jobs:
run-fmt-and-clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup default nightly
- run: rustup component add rustfmt clippy
- uses: Swatinem/rust-cache@v2
with:
workspaces: "runtimes -> runtimes/target\ntemplates -> templates/target"
- name: Run runtimes fmt
run: cargo fmt --check --manifest-path runtimes/Cargo.toml
- name: Run templates fmt
run: cargo fmt --check --manifest-path templates/Cargo.toml
- name: Run runtimes clippy
run: cargo clippy -q --workspace --no-deps --manifest-path runtimes/Cargo.toml -- -D clippy::pedantic
- name: Run templates clippy
run: cargo clippy -q --workspace --no-deps --manifest-path templates/Cargo.toml -- -D clippy::pedantic