Skip to content

Commit

Permalink
Merge pull request #1 from euchangxian/branch-A-CI
Browse files Browse the repository at this point in the history
Add java_ci.yml file to ensure code quality
  • Loading branch information
euchangxian authored Sep 15, 2023
2 parents 418fb96 + 0d25470 commit ac9b0fd
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/java_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Java CI

on: [push, pull_request]

jobs:
build:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}

steps:
- name: Set up repository
uses: actions/checkout@master

- name: Set up repository
uses: actions/checkout@master
with:
ref: master

- name: Merge to master
run: git checkout --progress --force ${{ github.sha }}

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

- name: Setup JDK 11
uses: actions/setup-java@v1
with:
java-version: '11'
java-package: jdk+fx

- name: Build and check with Gradle
run: ./gradlew check

0 comments on commit ac9b0fd

Please sign in to comment.