Merge branch 'paritytech:master' into master #36
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: 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 |