Skip to content

Problem Matcher for dotnet-format

Actions
Sets up a problem matcher for dotnet-format that s used to create annotations for violations
v1.2.0
Latest
Star (11)

Tags

 (1)

Problem Matcher for dotnet-format

CI CodeQL

Adds a problem matcher that will detect errors from dotnet-format and create annotations for them.

Usage

on: push
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-dotnet@v1
          with:
            dotnet-version: 3.1.101
      - uses: xt0rted/dotnet-format-problem-matcher@v1
      - run: dotnet tool install -g dotnet-format
      - run: dotnet-format --dry-run

Example of inline annotations

Example of build log with highlighted errors

Options

Name Allowed values Description
action add (default), remove If the problem matcher should be registered or removed

License

The scripts and documentation in this project are released under the MIT License

Problem Matcher for dotnet-format is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Sets up a problem matcher for dotnet-format that s used to create annotations for violations
v1.2.0
Latest

Tags

 (1)

Problem Matcher for dotnet-format is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.