Jonas Bushart a2dccfa04f Add changelog
2022-07-19 18:01:45 +00:00
2022-05-16 23:57:00 +02:00
2022-07-19 18:01:45 +00:00
2022-05-10 22:27:48 +02:00
2022-05-16 23:57:00 +02:00

Run rustfmt

Run cargo fmt --all and report all formatting differences in a nice overview. It works best in combination with actions-rust-lang/setup-rust-toolchain for problem matcher highlighting.

Execution Summary:

The action reports any formatting issues found by rustfmt.

Problem Matcher:

Annotation highlighting formatting differences.

Example workflow

name: "Test Suite"
on:
  push:
  pull_request:

jobs:
  formatting:
    name: cargo fmt
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      # Ensure rustfmt is installed and setup problem matcher
      - uses: actions-rust-lang/setup-rust-toolchain@v1
        with:
          components: rustfmt
      - name: Rustfmt Check
        uses: actions-rust-lang/rustfmt@v1
Description
No description provided
Readme MIT 130 KiB