-
Notifications
You must be signed in to change notification settings - Fork 21
33 lines (31 loc) · 938 Bytes
/
test.yml
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
name: Test
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Test plugin
uses: gradle/[email protected]
with:
arguments: test
- name: Verify plugin
uses: gradle/[email protected]
with:
arguments: verifyPlugin
concurrency:
group: ${{github.workflow}}-${{github.head_ref || github.run_id }}
cancel-in-progress: true