-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
39 additions
and
39 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,50 +37,50 @@ jobs: | |
- name: Gradle Wrapper Validation | ||
uses: gradle/[email protected] | ||
|
||
# Run verifyPlugin and test Gradle tasks | ||
test: | ||
name: Test | ||
needs: gradleValidation | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
# Setup Java 1.8 environment for the next steps | ||
- name: Setup Java | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
|
||
# Check out current repository | ||
- name: Fetch Sources | ||
uses: actions/checkout@v2 | ||
|
||
# Cache Gradle dependencies | ||
- name: Setup Gradle Dependencies Cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle', 'gradle.properties') }} | ||
|
||
# Cache Gradle Wrapper | ||
- name: Setup Gradle Wrapper Cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} | ||
|
||
# Run detekt, ktlint and tests | ||
- name: Run Linters and Test | ||
run: ./gradlew check | ||
|
||
# Run verifyPlugin Gradle task | ||
- name: Verify Plugin | ||
run: ./gradlew verifyPlugin | ||
# # Run verifyPlugin and test Gradle tasks | ||
# test: | ||
# name: Test | ||
# needs: gradleValidation | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
|
||
# # Setup Java 1.8 environment for the next steps | ||
# - name: Setup Java | ||
# uses: actions/setup-java@v1 | ||
# with: | ||
# java-version: 1.8 | ||
|
||
# # Check out current repository | ||
# - name: Fetch Sources | ||
# uses: actions/checkout@v2 | ||
|
||
# # Cache Gradle dependencies | ||
# - name: Setup Gradle Dependencies Cache | ||
# uses: actions/cache@v2 | ||
# with: | ||
# path: ~/.gradle/caches | ||
# key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle', 'gradle.properties') }} | ||
|
||
# # Cache Gradle Wrapper | ||
# - name: Setup Gradle Wrapper Cache | ||
# uses: actions/cache@v2 | ||
# with: | ||
# path: ~/.gradle/wrapper | ||
# key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} | ||
|
||
# # Run detekt, ktlint and tests | ||
# - name: Run Linters and Test | ||
# run: ./gradlew check | ||
|
||
# # Run verifyPlugin Gradle task | ||
# - name: Verify Plugin | ||
# run: ./gradlew verifyPlugin | ||
|
||
# Build plugin with buildPlugin Gradle task and provide the artifact for the next workflow jobs | ||
# Requires test job to be passed | ||
build: | ||
name: Build | ||
needs: test | ||
# needs: test | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
|