Commit 968cc60 1 parent dea5105 commit 968cc60 Copy full SHA for 968cc60
File tree 6 files changed +27
-4
lines changed
com.dena.must-await-analyzer
6 files changed +27
-4
lines changed Original file line number Diff line number Diff line change
1
+ * @ DeNA/swet
Original file line number Diff line number Diff line change @@ -39,10 +39,13 @@ jobs:
39
39
- name : dotnet build
40
40
run : dotnet build ./MustAwaitAnalyzer.sln --configuration Release --no-restore
41
41
42
- - name : Setup for UPM package
42
+ - name : Push UPM package
43
43
run : |
44
44
cp ./MustAwaitAnalyzer/bin/Release/netstandard2.0/MustAwaitAnalyzer.dll ./com.dena.must-await-analyzer/Analyzers/
45
45
cp ./README.md* ./com.dena.must-await-analyzer/
46
+ git commit -a -m "Bump up version"
47
+ git tag ${{ needs.check-bump-version.outputs.new-version }}
48
+ git push --tags
46
49
47
50
- name : Create NuPkg
48
51
run : dotnet pack ./MustAwaitAnalyzer --include-symbols --configuration Release -o ./nupkg
Original file line number Diff line number Diff line change @@ -9,7 +9,10 @@ MustAwaitAnalyzerは
9
9
10
10
を戻り値に持つメソッドの呼び出しの際にawaitをつけることを強制するアナライザーです。
11
11
12
- 以下に、このアナライザーの診断項目を記します。
12
+ ## Unity プロジェクトでの使用方法
13
+
14
+ Unity 2021.1.2f1 以上が必要です。
15
+ ` https://github.com/DeNA/MustAwaitAnalyzer.git?path=com.dena.must-await-analyzer ` を Package Manager に追加してください。
13
16
14
17
## DENA008: Must use await
15
18
Original file line number Diff line number Diff line change @@ -9,7 +9,10 @@ MustAwaitAnalyzer is a roslyn analyzer that enforces the use of `await` when cal
9
9
- [ System.Threading.Tasks.Task] ( https://learn.microsoft.com/dotnet/api/system.threading.tasks.task?view=net-7.0 )
10
10
- [ Cysharp.Threading.Tasks.UniTask] ( https://github.com/Cysharp/UniTask )
11
11
12
- Below are the diagnostic details for this analyzer.
12
+ ## Install into Unity Project
13
+
14
+ Requires Unity 2021.1.2f1 or later.
15
+ You can add ` https://github.com/DeNA/MustAwaitAnalyzer.git?path=com.dena.must-await-analyzer ` to Package Manager.
13
16
14
17
## DENA008: Must use await
15
18
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ {
2
+ "name": "MustAwaitAnalyzer",
3
+ "rootNamespace": "",
4
+ "references": [],
5
+ "includePlatforms": [],
6
+ "excludePlatforms": [],
7
+ "allowUnsafeCode": false,
8
+ "overrideReferences": false,
9
+ "precompiledReferences": [],
10
+ "autoReferenced": false,
11
+ "defineConstraints": [],
12
+ "versionDefines": [],
13
+ "noEngineReferences": false
14
+ }
You can’t perform that action at this time.
0 commit comments