Skip to content

chore(deps): bump actions/checkout from 4.1.5 to 4.1.6 #314

chore(deps): bump actions/checkout from 4.1.5 to 4.1.6

chore(deps): bump actions/checkout from 4.1.5 to 4.1.6 #314

Workflow file for this run

name: Rustfmt
on:
pull_request:
push:
branches:
- main
- stable
jobs:
rustfmt:
name: Cargo fmt
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}
- name: Checkout sources
uses: actions/checkout@v4.1.6
with:
fetch-depth: 50
submodules: 'recursive'
- name: Install Rust stable toolchain
uses: actions-rs/toolchain@v1.0.7
with:
profile: minimal
toolchain: stable
override: true
- name: cargo fmt
run: cargo fmt --all -- --check