add github workflows

This commit is contained in:
2023-08-17 21:47:02 +03:00
parent 2ca9d39495
commit 376c2f860c
2 changed files with 53 additions and 0 deletions

21
.github/workflows/reviewdog.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: reviewdog
on:
pull_request:
branches: [ "master" ]
jobs:
check:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Format code
run: cargo fmt
- name: suggester / rustfmt
uses: reviewdog/action-suggester@v1
with:
tool_name: rustfmt