Files
pezkuwi-subxt/.github/workflows/fmt-check.yml
T
Alexander Samusev 0004d04477 [ci] Run gha fmt in docker (#2511)
* [ci] Run gha fmt in docker

* use cargo run instead action
2023-05-03 14:10:46 +02:00

23 lines
474 B
YAML

name: Rustfmt check
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
quick_check:
strategy:
matrix:
os: ["ubuntu-latest"]
runs-on: ${{ matrix.os }}
container:
image: paritytech/ci-linux:production
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Cargo fmt
run: cargo +nightly fmt --all -- --check