Skip to content

fix: Android recover tasks #4626

fix: Android recover tasks

fix: Android recover tasks #4626

Workflow file for this run

name: Rustfmt
on:
pull_request:
push:
branches:
- master
- stable
jobs:
rustfmt:
name: Cargo fmt
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@01ce38bf961b4e243a6342cbade0dbc8ba3f0432 # 0.12.0
with:
access_token: ${{ github.token }}
- name: Checkout sources
uses: actions/[email protected]
with:
fetch-depth: 50
submodules: 'recursive'
- name: Install Rust stable toolchain
uses: dtolnay/rust-toolchain@stable
- name: cargo fmt
run: |
cd rust
cargo fmt --all -- --check