forked from pzstorm/storm
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (27 loc) · 755 Bytes
/
Copy pathjava-qa.yaml
File metadata and controls
29 lines (27 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
on:
workflow_dispatch:
push:
branches:
- 'release/**' # Release branches
- 'hotfix/**' # Hotfix branches
- master # Main project branch
pull_request:
# Quality Assurance
name: code
jobs:
check:
name: Check compliance
runs-on: ubuntu-latest
steps:
# Checkout repository
- uses: actions/checkout@v2
# Setup Java environment
- uses: actions/setup-java@v3
with:
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '17'
# Check if code is spotless
- name: Check code format compliance
uses: burrunan/gradle-cache-action@v1
with:
arguments: spotlessJavaCheck -s