-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* chore: 静的解析ツールのdetektを追加 * fix: (detekt) WildCardImport * fix: (detekt) WildCardImport * fix: (detekt) WildCardImport * fix: (detekt) WildCardImport * fix: (detekt) WildCardImport * fix: (detekt) WildCardImport * fix: (detekt) WildCardImport * fix: (detekt) MayBeConst * fix: (detekt) Add SuppressRule * fix: (detekt) ReturnCount * fix: (detekt) MagicNumber * fix: (detekt) MagicNumber * chore: detektのジョブを分けた * fix: (detekt) TopLevelPropertyNaming * fix: (detekt) TopLevelPropertyNaming * fix: (detekt) MagicNumber * fix: (detekt) MagicNumber * fix: (detekt) ReturnCount * fix: (detekt) ReturnCount * fix: (detekt) Suppress UnusedPrivateMember * fix: (detekt) MagicNumber * fix: (detekt) MagicNumber * fix: (detekt) Suppress MagicNumber * fix: (detekt) MagicNumber * fix: (detekt) Suppress MagicNumber * fix: (detekt) MagicNumber * fix: (detekt) MagicNumber * fix: (detekt) MagicNumber * fix: (detekt) MagicNumber * fix: (detekt) MagicNumber * fix: (detekt) Suppress ReturnCount * fix: (detekt) ForbiddenComment * fix: (detekt) Suppress SpreadOperator * fix: (detekt) PrintStackTrace * fix: (detekt) RethrowCaughtException * fix: (detekt) TooGenericExceptionCaught * fix: remove lateinit * chore: detektの公式設定ファイルをコピーだけした * fix: なぜかプロパティが存在しないエラーになった箇所をコメントアウト This reverts commit 07007ea65d56802d4f5fca25e36e95ea01dbf66a. * fix: 設定ファイルを読み込むように変更 * fix: 除外設定を追加 * fix: しきい値を変更 * fix: (detekt) LongMethod * fix: しきい値を変更 * fix: artifactを起動してみたらClassNotFoundExceptionが発生したので一旦WIPで回避 * fix: リリースジョブからもdetektを除外
- Loading branch information
Showing
20 changed files
with
1,329 additions
and
272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,8 +29,9 @@ jobs: | |
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# codecovからrevを参照されるのでv2にはしない | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/[email protected] | ||
with: | ||
distribution: temurin | ||
|
@@ -42,10 +43,23 @@ jobs: | |
- name: Check code style | ||
run: ./gradlew spotlessCheck | ||
- name: Test | ||
run: xvfb-run ./gradlew test jacocoTestReport | ||
run: xvfb-run ./gradlew test jacocoTestReport -x detekt | ||
- name: Send coverage report | ||
run: bash <(curl -s https://codecov.io/bash) | ||
|
||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
distribution: temurin | ||
java-version: ${{ env.JAVA_VERSION }} | ||
java-package: jdk | ||
architecture: x64 | ||
- name: Lint | ||
run: ./gradlew detekt | ||
|
||
build-artifact: | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
|
@@ -85,7 +99,7 @@ jobs: | |
echo ORG_GRADLE_PROJECT_CI_COMMIT_HASH="$(git rev-parse HEAD)" >> $GITHUB_ENV | ||
- name: Build | ||
run: ./gradlew build -x test | ||
run: ./gradlew build -x test -x detekt | ||
|
||
- name: Create artifact | ||
run: > | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.