Skip to content

Commit

Permalink
chore(ci): Use gradle-build-action
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseLion committed Oct 15, 2023
1 parent 69595ff commit a7fa87e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
distribution: oracle
java-version: 20
check-latest: true
cache: gradle
- run: ./gradlew compileJava compileTestJava compileTestkitJava
- run: ./gradlew checkstyleMain checkstyleTest checkstyleTestkit
- run: ./gradlew sonarlintMain sonarlintTest sonarlintTestkit
- run: ./gradlew test
- run: ./gradlew testkit
- run: ./gradlew build
- uses: gradle/gradle-build-action@v2
- run: ./gradlew compileJava compileTestJava compileTestkitJava --scan
- run: ./gradlew checkstyleMain checkstyleTest checkstyleTestkit --scan
- run: ./gradlew sonarlintMain sonarlintTest sonarlintTestkit --scan
- run: ./gradlew test --scan
- run: ./gradlew testkit --scan
- run: ./gradlew build --scan
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
distribution: oracle
java-version: 20
check-latest: true
cache: gradle
- uses: gradle/gradle-build-action@v2
- uses: github/codeql-action/init@v2
with:
languages: java-kotlin
- run: ./gradlew build -x check
- run: ./gradlew build -x check --scan
- uses: github/codeql-action/analyze@v2
with:
category: /language:java-kotlin
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:
distribution: oracle
java-version: 20
check-latest: true
cache: gradle
- uses: gradle/gradle-build-action@v2
- uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: yarn
- run: ./gradlew build
- run: ./gradlew build --scan
- run: yarn install --immutable
- run: yarn release
env:
Expand Down

0 comments on commit a7fa87e

Please sign in to comment.