mirror of
https://github.com/pezkuwichain/pezframe-metadata.git
synced 2026-04-22 21:47:57 +00:00
5f0357a894
Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.12.0 to 0.12.1. - [Release notes](https://github.com/styfle/cancel-workflow-action/releases) - [Commits](https://github.com/styfle/cancel-workflow-action/compare/01ce38bf961b4e243a6342cbade0dbc8ba3f0432...85880fa0301c86cca9da44039ee3bb12d3bedbfa) --- updated-dependencies: - dependency-name: styfle/cancel-workflow-action dependency-type: direct:production update-type: version-update:semver-patch ... 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@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
|
|
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
|