Update to Polkadot v1.14.0 #44
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |