Build PRs using github actions

This commit is contained in:
Petr Mrázek 2022-10-24 14:22:18 +02:00 committed by Petr Mrázek
parent 3c773a7188
commit 43ed8a0524

21
.github/workflows/main.yml vendored Normal file
View file

@ -0,0 +1,21 @@
name: pr-check
on:
push:
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
container:
image: adoptopenjdk/openjdk8:latest
steps:
- uses: actions/checkout@v3
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build test --scan