-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
Release/1.0.0
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
paths-ignore: | ||
- docs/** | ||
- README.md | ||
- LICENSE | ||
pull_request: | ||
branches: | ||
- develop | ||
paths-ignore: | ||
- docs/** | ||
- README.md | ||
- LICENSE | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# チェックアウト | ||
- uses: actions/checkout@v2 | ||
|
||
# JDKのセットアップ | ||
- name: set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
|
||
# Gradleのキャッシュ復元 | ||
- uses: actions/cache@v1 | ||
with: | ||
path: ~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
# 依存関係の出力 | ||
- name: Displays the Android dependencies of the project | ||
run: ./gradlew androidDependencies | ||
|
||
# コンパイル | ||
- name: Run Compile | ||
run: ./gradlew assembleDebug | ||
|
||
# テスト | ||
- name: Test with Gradle | ||
run: ./gradlew test --stacktrace | ||
|
||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# チェックアウト | ||
- uses: actions/checkout@v2 | ||
|
||
# 静的解析 | ||
- name: Run Inspection | ||
run: ./gradlew lint | ||
|
||
detekt: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# チェックアウト | ||
- uses: actions/checkout@v2 | ||
|
||
# 静的解析 | ||
- name: Lint with detekt | ||
run: ./gradlew detekt |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,17 @@ | ||
# Compiled class file | ||
*.class | ||
*.iml | ||
.gradle | ||
/local.properties | ||
/.idea/caches | ||
/.idea/libraries | ||
/.idea/modules.xml | ||
/.idea/workspace.xml | ||
/.idea/navEditor.xml | ||
/.idea/assetWizardSettings.xml | ||
.DS_Store | ||
/build | ||
/captures | ||
.externalNativeBuild | ||
.cxx | ||
|
||
# Log file | ||
*.log | ||
*.keystore | ||
|
||
# BlueJ files | ||
*.ctxt | ||
|
||
# Mobile Tools for Java (J2ME) | ||
.mtj.tmp/ | ||
|
||
# Package Files # | ||
*.jar | ||
*.war | ||
*.nar | ||
*.ear | ||
*.zip | ||
*.tar.gz | ||
*.rar | ||
|
||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml | ||
hs_err_pid* |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.