Skip to content

Merge branch 'paritytech:master' into master #36

Merge branch 'paritytech:master' into master

Merge branch 'paritytech:master' into master #36

Workflow file for this run

name: Check style
on:
pull_request:
push:
branches:
- master
- stable
tags:
- v*
paths-ignore:
- 'README.md'
jobs:
check-style:
name: Check style
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: full
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 # 0.11.0
- name: Checkout sources & submodules
uses: actions/[email protected]
with:
fetch-depth: 5
submodules: recursive
- name: Install toolchain
uses: actions-rs/[email protected]
with:
profile: minimal
toolchain: stable
components: clippy, rustfmt
override: true
- name: Checking style
uses: actions-rs/[email protected]
with:
command: fmt
toolchain: stable
args: --all -- --check