mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
feat(ci): add dotnet format check action
This commit is contained in:
parent
e2a6ee208b
commit
744e5e103f
1 changed files with 17 additions and 0 deletions
17
.github/workflows/dotnetformat.yml
vendored
Normal file
17
.github/workflows/dotnetformat.yml
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
name: Format check on pull request
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
dotnet-format:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Add dotnet-format problem matcher
|
||||
uses: xt0rted/dotnet-format-problem-matcher@v1
|
||||
|
||||
- name: Restore dotnet tools
|
||||
uses: xt0rted/dotnet-tool-restore@v1
|
||||
|
||||
- name: Run dotnet format
|
||||
uses: xt0rted/dotnet-format@v1
|
||||
Loading…
Add table
Add a link
Reference in a new issue