Skip to content

Commit

Permalink
customize checks and release actions for lacchain
Browse files Browse the repository at this point in the history
  • Loading branch information
eum602 committed Oct 2, 2023
1 parent d766e37 commit 2ba34a0
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/lacchain-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: lacchain-checks
on:
push:
branches: [lacchain-release]
pull_request:
workflow_dispatch:

jobs:
spotless:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 17
cache: gradle
- name: spotless
run: ./gradlew --no-daemon --parallel clean spotlessCheck
javadoc_17:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Set up Java 17
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 17
cache: gradle
- name: javadoc (JDK 17)
run: ./gradlew --no-daemon clean javadoc
11 changes: 11 additions & 0 deletions .github/workflows/lacchain-gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# SPDX-License-Identifier: Apache-2.0
name: "Lacchain Validate Gradle Wrapper"
on: [push, pull_request]

jobs:
validation:
name: "Gradle Wrapper Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1

0 comments on commit 2ba34a0

Please sign in to comment.