Skip to content

update to polkadot v1.12.0 #38

update to polkadot v1.12.0

update to polkadot v1.12.0 #38

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