From ba0434244ec61343c59a002781629c4a72c567eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20C=C4=B1r=C4=B1t?= Date: Wed, 27 Mar 2024 22:24:38 +0300 Subject: [PATCH] test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: M. Fatih Cırıt --- .github/workflows/pre-commit.yml | 8 ++++++-- .pre-commit-config.yaml | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index b49458c7e..ded7feba0 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -3,7 +3,7 @@ name: pre-commit on: pull_request: push: - branches: [main] + branches: [ main ] jobs: pre-commit: @@ -11,4 +11,8 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v3 - - uses: pre-commit/action@v3.0.1 \ No newline at end of file + - uses: actions/setup-dotnet@v4 + with: + dotnet-version: '6.0.x' + dotnet-quality: 'preview' + - uses: pre-commit/action@v3.0.1 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5b7fb3081..81d496bf9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ repos: - id: dotnet-format name: dotnet-format language: system - entry: dotnet format --include + entry: dotnet format ./AWSIM.sln --include --verbosity d types_or: [ "c#", "vb" ] # https://github.com/Unity-Technologies/Unity-Robotics-Hub/blob/main/.pre-commit-config.yaml