-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* delete mock * coverage * fix test * indent * change to var - check * cluster test * add opthin to connect cluster with dotnet test * use key in topk tests * get env vars inside RedisFixture * skip if redis * add skip where needed * Execute broadcast * delete cluster tests * RedisFixture fix * add to contributing * run cluster on CI * wip * fix / * -d * delete restore * return restore * add -RC3 * add RC3 to docker-compose * try define both .net 6 and 7 * Skip if cluster where needed * add names * skip configOnTimeout if cluster * try to fix win tests * tests names +fix win version * fix versions * versions * win verer * wording * dotnet format * format * format * add linter.yaml * update linter * lint on push * change linter * create lint problems to see what happen * linter force and run * try to fix yml * dotnet format * tell the contributer to run dotnet format in the CONTRIBUTING.md * disable multi runs * fix warnings * chayom changes --------- Co-authored-by: Chayim <[email protected]> Co-authored-by: Chayim I. Kirshen <[email protected]>
- Loading branch information
1 parent
30dee6e
commit 3d639ce
Showing
6 changed files
with
40 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Format check on pull request | ||
|
||
on: pull_request | ||
|
||
concurrency: | ||
group: ${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
dotnet-format: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Install dotnet-format | ||
run: dotnet tool install -g dotnet-format | ||
|
||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
|
||
- name: lint | ||
run: | | ||
dotnet format | ||
- name: Check for modified files | ||
run: | | ||
if (git status | Select-String -Pattern 'modified') { | ||
Write-Host "Modified files found. Please run dotnet format and commit the changes." | ||
exit 1 | ||
} else { | ||
Write-Host "No modified files found." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters