Skip to content

Added automated code formatting #1

Added automated code formatting

Added automated code formatting #1

Workflow file for this run

name: Automated Code Formatting
on:
push:
branches:
- "*"
- "*/*"
- "**"
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install cargo fmt
run: cargo install --force rustfmt
- name: Format code
run: cargo fmt --all -- --check
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6