Skip to content

build(deps-dev): bump the development group across 1 directory with 9 updates #675

build(deps-dev): bump the development group across 1 directory with 9 updates

build(deps-dev): bump the development group across 1 directory with 9 updates #675

Workflow file for this run

name: Check Format
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
env:
# Lets us format with unstable rustfmt options
RUST_CHANNEL: nightly
jobs:
check_format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Check formatting of Rust files
- name: Install Rust toolchain
run: |
rustup toolchain install --profile minimal --component rustfmt --no-self-update ${{ env.RUST_CHANNEL }}
rustup default ${{ env.RUST_CHANNEL }}
- name: Run cargo format
run: cargo +nightly fmt --all --check
# Check formatting of other files
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install prettier
run: npm ci
- name: Run prettier
run: npm run format:check