From 01edd1368b61bcad6f3d97bfa4e316eb40b8d5a5 Mon Sep 17 00:00:00 2001 From: Andy Zijian Zhang Date: Thu, 9 Jan 2025 17:16:18 +0800 Subject: [PATCH] chore: fix misc stuff --- .github/workflows/build.yml | 16 +++++++--------- Lip.Tests/ConditionWaiterTests.cs | 2 +- Lip.Tests/Lip.InitTests.cs | 2 +- Lip/ConditionWaiter.cs | 2 +- Lip/Lip.Init.cs | 2 +- Lip/Lip.UserInteraction.cs | 2 +- Lip/Lip.cs | 2 +- 7 files changed, 13 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 372a9fb..20f4ca5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,6 +50,13 @@ jobs: matrix: project: - Lip.CLI + runtime: + - linux-arm64 + - linux-x64 + - osx-arm64 + - osx-x64 + - win-arm64 + - win-x64 include: - runtime: linux-arm64 runs-on: ubuntu-22.04 @@ -116,16 +123,7 @@ jobs: dotnet-version: ${{ env.DOTNET_VERSION }} - run: | - dotnet restore ${{ matrix.project }} - - - run: > - dotnet build ${{ matrix.project }} - -c Release - --no-restore - - - run: > dotnet test ${{ matrix.project }} - --no-build check-style: strategy: diff --git a/Lip.Tests/ConditionWaiterTests.cs b/Lip.Tests/ConditionWaiterTests.cs index 8ad4dc7..7ca79bc 100644 --- a/Lip.Tests/ConditionWaiterTests.cs +++ b/Lip.Tests/ConditionWaiterTests.cs @@ -1,4 +1,4 @@ -using System.Threading; +using System.Threading; namespace Lip.Tests; diff --git a/Lip.Tests/Lip.InitTests.cs b/Lip.Tests/Lip.InitTests.cs index 93dc71b..0bec1d1 100644 --- a/Lip.Tests/Lip.InitTests.cs +++ b/Lip.Tests/Lip.InitTests.cs @@ -1,4 +1,4 @@ -using System.IO.Abstractions.TestingHelpers; +using System.IO.Abstractions.TestingHelpers; using Moq; namespace Lip.Tests; diff --git a/Lip/ConditionWaiter.cs b/Lip/ConditionWaiter.cs index b21e766..45c2873 100644 --- a/Lip/ConditionWaiter.cs +++ b/Lip/ConditionWaiter.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; namespace Lip; diff --git a/Lip/Lip.Init.cs b/Lip/Lip.Init.cs index 264f607..ba361f8 100644 --- a/Lip/Lip.Init.cs +++ b/Lip/Lip.Init.cs @@ -1,4 +1,4 @@ -using System.Text; +using System.Text; namespace Lip; diff --git a/Lip/Lip.UserInteraction.cs b/Lip/Lip.UserInteraction.cs index 3933b60..e03ae43 100644 --- a/Lip/Lip.UserInteraction.cs +++ b/Lip/Lip.UserInteraction.cs @@ -1,4 +1,4 @@ -namespace Lip; +namespace Lip; public partial class Lip { diff --git a/Lip/Lip.cs b/Lip/Lip.cs index db4f594..54d5a4d 100644 --- a/Lip/Lip.cs +++ b/Lip/Lip.cs @@ -1,4 +1,4 @@ -using System.IO.Abstractions; +using System.IO.Abstractions; namespace Lip;