Skip to content

Nr2 -> nr.

Nr2 -> nr. #2017

Workflow file for this run

on:
push:
paths-ignore:
- 'doc/**'
- '**.md'
pull_request:
paths-ignore:
- 'doc/**'
- '**.md'
types: [opened, review_requested, reopened]
name: Check Formatting
jobs:
formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- run: |
sed -i'' -e 's/[email protected]:/https:\/\/github.com\//' .gitmodules
git submodule update --init
rustup show
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Run cargo fmt
run: cargo fmt -- --check