-
Notifications
You must be signed in to change notification settings - Fork 33
52 lines (40 loc) · 1.14 KB
/
checkPlugin.yml
File metadata and controls
52 lines (40 loc) · 1.14 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Check Plugin
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
actions: read
checks: write
jobs:
verifyPlugin:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v6
- uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '21'
- uses: gradle/actions/setup-gradle@v6
- name: Run Checks
uses: coactions/setup-xvfb@v1
with:
run: ./gradlew check --stacktrace
- name: Build and Verify Plugin Structure
run: ./gradlew buildPlugin verifyPluginProjectConfiguration verifyPluginStructure --stacktrace
- name: Verify Plugin
run: ./gradlew verifyPlugin --stacktrace
- name: Test Report
uses: dorny/test-reporter@v3
if: ${{ !cancelled() }}
continue-on-error: true
with:
name: JUnit Tests
path: '**/build/test-results/test/TEST-*.xml'
reporter: java-junit