Skip to content

Commit acc1e39

Browse files
committed
add ci workflow
1 parent ca2dac9 commit acc1e39

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Run Checks
2+
on:
3+
pull_request:
4+
branches:
5+
- "**"
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-22.04
10+
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v5
14+
15+
- name: Setup .NET
16+
uses: actions/setup-dotnet@v5
17+
with:
18+
dotnet-version: "8.0.x"
19+
20+
- name: Install CSharpier
21+
run: dotnet tool install -g csharpier
22+
23+
- name: Check formatting
24+
run: csharpier check .

OneSignalExample/Packages/com.unity.asset-store-tools/Editor/Utility/PackageUtility.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
#endif
88

99

10-
namespace AssetStoreTools.Utility
11-
{
10+
namespace AssetStoreTools.Utility {
1211
internal static class PackageUtility
1312
{
1413
/// <summary>

0 commit comments

Comments
 (0)