From 876c5144421299143735d2d542ea54e65e8c7433 Mon Sep 17 00:00:00 2001 From: Shuo Diao Date: Thu, 2 Sep 2021 17:07:44 -0700 Subject: [PATCH] AIRO-1210 Fix dotnet format (#173) --- .github/workflows/pre-commit.yml | 3 ++- .pre-commit-config.yaml | 3 ++- com.unity.robotics.ros-tcp-connector/CHANGELOG.md | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 8aa9a71..ed33cb5 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -13,5 +13,6 @@ jobs: python-version: 3.7.x - uses: actions/setup-dotnet@v1 with: - dotnet-version: '3.1.x' + dotnet-version: '6.0.x' + include-prerelease: true - uses: pre-commit/action@v2.0.0 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 785adfc..d440692 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,7 +25,8 @@ repos: - repo: https://github.com/dotnet/format - rev: "7e343070a0355c86f72bdee226b5e19ffcbac931" + rev: v5.1.225507 hooks: - id: dotnet-format + entry: dotnet-format whitespace args: [--folder, --include] diff --git a/com.unity.robotics.ros-tcp-connector/CHANGELOG.md b/com.unity.robotics.ros-tcp-connector/CHANGELOG.md index a1d6dbe..fe61de8 100644 --- a/com.unity.robotics.ros-tcp-connector/CHANGELOG.md +++ b/com.unity.robotics.ros-tcp-connector/CHANGELOG.md @@ -40,6 +40,8 @@ Upgrade the TestRosTcpConnector project to use Unity LTS version 2020.3.11f1 - Allow switching protocol to ROS2 in different build targets (Standalone, WSA, etc.). + - Fixed dotnet format + ## [0.5.0-preview] - 2021-07-15 ### Upgrade Notes