mirror of
https://github.com/pezkuwichain/pezframe-metadata.git
synced 2026-04-22 04:17:58 +00:00
df03f6f58e
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
36 lines
968 B
YAML
36 lines
968 B
YAML
name: Check style
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
tags:
|
|
- v*
|
|
paths-ignore:
|
|
- 'README.md'
|
|
jobs:
|
|
## Check stage
|
|
check-fmt:
|
|
name: Check RustFmt
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
RUST_BACKTRACE: full
|
|
steps:
|
|
- name: Cancel Previous Runs
|
|
uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 # 0.11.0
|
|
with:
|
|
access_token: ${{ github.token }}
|
|
- name: Checkout sources & submodules
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 5
|
|
submodules: recursive
|
|
- name: Add rustfmt
|
|
run: rustup component add rustfmt
|
|
- name: rust-fmt check
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
command: fmt
|
|
args: --all -- --check
|