Skip to content

Commit

Permalink
Add gradle check workflow (#4)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Ross <andrross@amazon.com>
  • Loading branch information
andrross committed Sep 7, 2023
1 parent 7b31005 commit be8891d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Gradle Check
on: [pull_request]

jobs:
precommit:
if: github.repository == 'opensearch-project/custom-codecs'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: temurin
cache: gradle
- name: Run Gradle (check)
run: |
./gradlew check

0 comments on commit be8891d

Please sign in to comment.