Skip to content

Commit

Permalink
Add github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
noties committed Jul 16, 2023
1 parent dce2c9a commit f3b4394
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build

on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: set up JDK
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build with Gradle
run: ./gradlew check --stacktrace
17 changes: 17 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Pull request checks

on: pull_request

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: set up JDK
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build with Gradle
run: ./gradlew check --stacktrace

0 comments on commit f3b4394

Please sign in to comment.