Skip to content

chore(deps): bump actions/upload-artifact from 3 to 4 #4783

chore(deps): bump actions/upload-artifact from 3 to 4

chore(deps): bump actions/upload-artifact from 3 to 4 #4783

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/checkout@v4.1.1
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