Skip to content

Commit

Permalink
[ci] Don't run linting process on release
Browse files Browse the repository at this point in the history
  • Loading branch information
auguwu committed Apr 8, 2023
1 parent 475f46e commit f53ed71
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 52 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/ReleaseNightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,38 +46,12 @@ jobs:
distribution: temurin
java-version: 17

# Node.js is required for Spotless to run Prettier
- name: Setup Node.js 19
uses: actions/setup-node@v3
with:
node-version: 19.x

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1

- name: Lint code-base with Spotless
uses: gradle/gradle-build-action@v2
with:
arguments: spotlessCheck --no-daemon --scan

- name: Compiles Kotlin source sets
uses: gradle/gradle-build-action@v2
with:
arguments: compileKotlin --no-daemon --scan

- name: Compiles Java source sets
uses: gradle/gradle-build-action@v2
with:
arguments: compileJava --no-daemon --scan

- name: Run unit and integration tests
uses: gradle/gradle-build-action@v2
with:
arguments: test --no-daemon --scan

- name: Build artifact
uses: gradle/gradle-build-action@v2
with:
Expand Down
26 changes: 0 additions & 26 deletions .github/workflows/ReleaseStable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,38 +46,12 @@ jobs:
distribution: temurin
java-version: 17

# Node.js is required for Spotless to run Prettier
- name: Setup Node.js 19
uses: actions/setup-node@v3
with:
node-version: 19.x

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1

- name: Lint code-base with Spotless
uses: gradle/gradle-build-action@v2
with:
arguments: spotlessCheck --no-daemon --scan

- name: Compiles Kotlin source sets
uses: gradle/gradle-build-action@v2
with:
arguments: compileKotlin --no-daemon --scan

- name: Compiles Java source sets
uses: gradle/gradle-build-action@v2
with:
arguments: compileJava --no-daemon --scan

- name: Run unit and integration tests
uses: gradle/gradle-build-action@v2
with:
arguments: test --no-daemon --scan

- name: Build artifact
uses: gradle/gradle-build-action@v2
with:
Expand Down

0 comments on commit f53ed71

Please sign in to comment.