mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-02-10 18:05:10 +08:00
31 lines
667 B
YAML
31 lines
667 B
YAML
name: Lint Java
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: [master]
|
|
paths: ['web/documentserver-example/java/**']
|
|
pull_request:
|
|
branches: [master, develop]
|
|
paths: ['web/documentserver-example/java/**']
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
working-directory: ./web/documentserver-example/java
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install Java 11
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: '11'
|
|
|
|
- name: Run linter
|
|
run: |
|
|
mvn -version
|
|
mvn package |