forked from public-mirrors/HuskSync
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
473 B
YAML
24 lines
473 B
YAML
# Carry out tests on pull requests
|
|
name: PR Tests
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ 'master' ]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Set up JDK 17
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
java-version: '17'
|
|
distribution: 'temurin'
|
|
- name: Test Pull Request
|
|
uses: gradle/gradle-build-action@v2
|
|
with:
|
|
arguments: test |